Class: AWSCDK::MediaLive::CfnChannel::SrtOutputDestinationSettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_live/cfn_channel.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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.

Parameters:

  • connection_mode (String, nil) (defaults to: nil)
  • encryption_passphrase_secret_arn (String, nil) (defaults to: nil)
  • listener_port (Numeric, nil) (defaults to: nil)
  • stream_id (String, nil) (defaults to: nil)
  • url (String, nil) (defaults to: nil)


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_modeString? (readonly)



13183
13184
13185
# File 'media_live/cfn_channel.rb', line 13183

def connection_mode
  @connection_mode
end

#encryption_passphrase_secret_arnString? (readonly)



13186
13187
13188
# File 'media_live/cfn_channel.rb', line 13186

def encryption_passphrase_secret_arn
  @encryption_passphrase_secret_arn
end

#listener_portNumeric? (readonly)



13189
13190
13191
# File 'media_live/cfn_channel.rb', line 13189

def listener_port
  @listener_port
end

#stream_idString? (readonly)



13192
13193
13194
# File 'media_live/cfn_channel.rb', line 13192

def stream_id
  @stream_id
end

#urlString? (readonly)



13195
13196
13197
# File 'media_live/cfn_channel.rb', line 13195

def url
  @url
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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