Class: AWSCDK::MediaLive::CfnChannel::SrtOutputDestinationSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::SrtOutputDestinationSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Instance Attribute Summary collapse
- #connection_mode ⇒ String? readonly
- #encryption_passphrase_secret_arn ⇒ String? readonly
- #listener_port ⇒ Numeric? readonly
- #stream_id ⇒ String? readonly
- #url ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(connection_mode: nil, encryption_passphrase_secret_arn: nil, listener_port: nil, stream_id: nil, url: nil) ⇒ SrtOutputDestinationSettingsProperty
constructor
A new instance of SrtOutputDestinationSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(connection_mode: nil, encryption_passphrase_secret_arn: nil, listener_port: nil, stream_id: nil, url: nil) ⇒ SrtOutputDestinationSettingsProperty
Returns a new instance of SrtOutputDestinationSettingsProperty.
13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 |
# File 'media_live/cfn_channel.rb', line 13168 def initialize(connection_mode: nil, encryption_passphrase_secret_arn: nil, listener_port: nil, stream_id: nil, url: nil) @connection_mode = connection_mode Jsii::Type.check_type(@connection_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "connectionMode") unless @connection_mode.nil? @encryption_passphrase_secret_arn = encryption_passphrase_secret_arn Jsii::Type.check_type(@encryption_passphrase_secret_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "encryptionPassphraseSecretArn") unless @encryption_passphrase_secret_arn.nil? @listener_port = listener_port Jsii::Type.check_type(@listener_port, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "listenerPort") unless @listener_port.nil? @stream_id = stream_id Jsii::Type.check_type(@stream_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "streamId") unless @stream_id.nil? @url = url Jsii::Type.check_type(@url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "url") unless @url.nil? end |
Instance Attribute Details
#connection_mode ⇒ String? (readonly)
13183 13184 13185 |
# File 'media_live/cfn_channel.rb', line 13183 def connection_mode @connection_mode end |
#encryption_passphrase_secret_arn ⇒ String? (readonly)
13186 13187 13188 |
# File 'media_live/cfn_channel.rb', line 13186 def encryption_passphrase_secret_arn @encryption_passphrase_secret_arn end |
#listener_port ⇒ Numeric? (readonly)
13189 13190 13191 |
# File 'media_live/cfn_channel.rb', line 13189 def listener_port @listener_port end |
#stream_id ⇒ String? (readonly)
13192 13193 13194 |
# File 'media_live/cfn_channel.rb', line 13192 def stream_id @stream_id end |
#url ⇒ String? (readonly)
13195 13196 13197 |
# File 'media_live/cfn_channel.rb', line 13195 def url @url end |
Class Method Details
.jsii_properties ⇒ Object
13197 13198 13199 13200 13201 13202 13203 13204 13205 |
# File 'media_live/cfn_channel.rb', line 13197 def self.jsii_properties { :connection_mode => "connectionMode", :encryption_passphrase_secret_arn => "encryptionPassphraseSecretArn", :listener_port => "listenerPort", :stream_id => "streamId", :url => "url", } end |
Instance Method Details
#to_jsii ⇒ Object
13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 |
# File 'media_live/cfn_channel.rb', line 13207 def to_jsii result = {} result.merge!({ "connectionMode" => @connection_mode, "encryptionPassphraseSecretArn" => @encryption_passphrase_secret_arn, "listenerPort" => @listener_port, "streamId" => @stream_id, "url" => @url, }) result.compact end |