Class: AWSCDK::MediaConnect::CfnRouterOutput::SrtListenerRouterOutputConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnRouterOutput::SrtListenerRouterOutputConfigurationProperty
- Defined in:
- media_connect/cfn_router_output.rb
Overview
The configuration settings for a router output using the SRT (Secure Reliable Transport) protocol in listener mode, including the port, minimum latency, and encryption key configuration.
Instance Attribute Summary collapse
-
#encryption_configuration ⇒ AWSCDK::IResolvable, ...
readonly
Contains the configuration settings for encrypting SRT streams, including the encryption key details and encryption parameters.
-
#minimum_latency_milliseconds ⇒ Numeric
readonly
The minimum latency in milliseconds for the SRT protocol in listener mode.
-
#port ⇒ Numeric
readonly
The port number for the SRT protocol in listener mode.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(minimum_latency_milliseconds:, port:, encryption_configuration: nil) ⇒ SrtListenerRouterOutputConfigurationProperty
constructor
A new instance of SrtListenerRouterOutputConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(minimum_latency_milliseconds:, port:, encryption_configuration: nil) ⇒ SrtListenerRouterOutputConfigurationProperty
Returns a new instance of SrtListenerRouterOutputConfigurationProperty.
1398 1399 1400 1401 1402 1403 1404 1405 |
# File 'media_connect/cfn_router_output.rb', line 1398 def initialize(minimum_latency_milliseconds:, port:, encryption_configuration: nil) @minimum_latency_milliseconds = minimum_latency_milliseconds Jsii::Type.check_type(@minimum_latency_milliseconds, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "minimumLatencyMilliseconds") @port = port Jsii::Type.check_type(@port, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "port") @encryption_configuration = encryption_configuration.is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnRouterOutput::SrtEncryptionConfigurationProperty.new(**encryption_configuration.transform_keys(&:to_sym)) : encryption_configuration Jsii::Type.check_type(@encryption_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuUm91dGVyT3V0cHV0LlNydEVuY3J5cHRpb25Db25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "encryptionConfiguration") unless @encryption_configuration.nil? end |
Instance Attribute Details
#encryption_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
Contains the configuration settings for encrypting SRT streams, including the encryption key details and encryption parameters.
1421 1422 1423 |
# File 'media_connect/cfn_router_output.rb', line 1421 def encryption_configuration @encryption_configuration end |
#minimum_latency_milliseconds ⇒ Numeric (readonly)
The minimum latency in milliseconds for the SRT protocol in listener mode.
1411 1412 1413 |
# File 'media_connect/cfn_router_output.rb', line 1411 def minimum_latency_milliseconds @minimum_latency_milliseconds end |
#port ⇒ Numeric (readonly)
The port number for the SRT protocol in listener mode.
1416 1417 1418 |
# File 'media_connect/cfn_router_output.rb', line 1416 def port @port end |
Class Method Details
.jsii_properties ⇒ Object
1423 1424 1425 1426 1427 1428 1429 |
# File 'media_connect/cfn_router_output.rb', line 1423 def self.jsii_properties { :minimum_latency_milliseconds => "minimumLatencyMilliseconds", :port => "port", :encryption_configuration => "encryptionConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
1431 1432 1433 1434 1435 1436 1437 1438 1439 |
# File 'media_connect/cfn_router_output.rb', line 1431 def to_jsii result = {} result.merge!({ "minimumLatencyMilliseconds" => @minimum_latency_milliseconds, "port" => @port, "encryptionConfiguration" => @encryption_configuration, }) result.compact end |