Class: AWSCDK::MediaLive::CfnChannel::SrtOutputSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::SrtOutputSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Instance Attribute Summary collapse
- #buffer_msec ⇒ Numeric? readonly
- #container_settings ⇒ AWSCDK::IResolvable, ... readonly
- #destination ⇒ AWSCDK::IResolvable, ... readonly
- #encryption_type ⇒ String? readonly
- #latency ⇒ Numeric? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(buffer_msec: nil, container_settings: nil, destination: nil, encryption_type: nil, latency: nil) ⇒ SrtOutputSettingsProperty
constructor
A new instance of SrtOutputSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(buffer_msec: nil, container_settings: nil, destination: nil, encryption_type: nil, latency: nil) ⇒ SrtOutputSettingsProperty
Returns a new instance of SrtOutputSettingsProperty.
13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 |
# File 'media_live/cfn_channel.rb', line 13229 def initialize(buffer_msec: nil, container_settings: nil, destination: nil, encryption_type: nil, latency: nil) @buffer_msec = buffer_msec Jsii::Type.check_type(@buffer_msec, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "bufferMsec") unless @buffer_msec.nil? @container_settings = container_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::UDPContainerSettingsProperty.new(**container_settings.transform_keys(&:to_sym)) : container_settings Jsii::Type.check_type(@container_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5VZHBDb250YWluZXJTZXR0aW5nc1Byb3BlcnR5In1dfX0=")), "containerSettings") unless @container_settings.nil? @destination = destination.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::OutputLocationRefProperty.new(**destination.transform_keys(&:to_sym)) : destination Jsii::Type.check_type(@destination, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5PdXRwdXRMb2NhdGlvblJlZlByb3BlcnR5In1dfX0=")), "destination") unless @destination.nil? @encryption_type = encryption_type Jsii::Type.check_type(@encryption_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "encryptionType") unless @encryption_type.nil? @latency = latency Jsii::Type.check_type(@latency, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "latency") unless @latency.nil? end |
Instance Attribute Details
#buffer_msec ⇒ Numeric? (readonly)
13244 13245 13246 |
# File 'media_live/cfn_channel.rb', line 13244 def buffer_msec @buffer_msec end |
#container_settings ⇒ AWSCDK::IResolvable, ... (readonly)
13247 13248 13249 |
# File 'media_live/cfn_channel.rb', line 13247 def container_settings @container_settings end |
#destination ⇒ AWSCDK::IResolvable, ... (readonly)
13250 13251 13252 |
# File 'media_live/cfn_channel.rb', line 13250 def destination @destination end |
#encryption_type ⇒ String? (readonly)
13253 13254 13255 |
# File 'media_live/cfn_channel.rb', line 13253 def encryption_type @encryption_type end |
#latency ⇒ Numeric? (readonly)
13256 13257 13258 |
# File 'media_live/cfn_channel.rb', line 13256 def latency @latency end |
Class Method Details
.jsii_properties ⇒ Object
13258 13259 13260 13261 13262 13263 13264 13265 13266 |
# File 'media_live/cfn_channel.rb', line 13258 def self.jsii_properties { :buffer_msec => "bufferMsec", :container_settings => "containerSettings", :destination => "destination", :encryption_type => "encryptionType", :latency => "latency", } end |
Instance Method Details
#to_jsii ⇒ Object
13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 |
# File 'media_live/cfn_channel.rb', line 13268 def to_jsii result = {} result.merge!({ "bufferMsec" => @buffer_msec, "containerSettings" => @container_settings, "destination" => @destination, "encryptionType" => @encryption_type, "latency" => @latency, }) result.compact end |