Class: AWSCDK::MediaLive::CfnChannel::SrtOutputSettingsProperty

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(buffer_msec: nil, container_settings: nil, destination: nil, encryption_type: nil, latency: nil) ⇒ SrtOutputSettingsProperty

Returns a new instance of SrtOutputSettingsProperty.

Parameters:



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



13244
13245
13246
# File 'media_live/cfn_channel.rb', line 13244

def buffer_msec
  @buffer_msec
end

#container_settingsAWSCDK::IResolvable, ... (readonly)



13247
13248
13249
# File 'media_live/cfn_channel.rb', line 13247

def container_settings
  @container_settings
end

#encryption_typeString? (readonly)



13253
13254
13255
# File 'media_live/cfn_channel.rb', line 13253

def encryption_type
  @encryption_type
end

#latencyNumeric? (readonly)



13256
13257
13258
# File 'media_live/cfn_channel.rb', line 13256

def latency
  @latency
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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