Class: AWSCDK::MediaLive::CfnChannel::OutputProperty

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

Overview

The output settings.

The parent of this entity is OutputGroup.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(audio_description_names: nil, caption_description_names: nil, output_name: nil, output_settings: nil, video_description_name: nil) ⇒ OutputProperty

Returns a new instance of OutputProperty.

Parameters:

  • audio_description_names (Array<String>, nil) (defaults to: nil)

    The names of the audio descriptions that are used as audio sources for this output.

  • caption_description_names (Array<String>, nil) (defaults to: nil)

    The names of the caption descriptions that are used as captions sources for this output.

  • output_name (String, nil) (defaults to: nil)

    The name that is used to identify an output.

  • output_settings (AWSCDK::IResolvable, AWSCDK::MediaLive::CfnChannel::OutputSettingsProperty, nil) (defaults to: nil)

    The output type-specific settings.

  • video_description_name (String, nil) (defaults to: nil)

    The name of the VideoDescription that is used as the source for this output.



12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
# File 'media_live/cfn_channel.rb', line 12213

def initialize(audio_description_names: nil, caption_description_names: nil, output_name: nil, output_settings: nil, video_description_name: nil)
  @audio_description_names = audio_description_names
  Jsii::Type.check_type(@audio_description_names, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "audioDescriptionNames") unless @audio_description_names.nil?
  @caption_description_names = caption_description_names
  Jsii::Type.check_type(@caption_description_names, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "captionDescriptionNames") unless @caption_description_names.nil?
  @output_name = output_name
  Jsii::Type.check_type(@output_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "outputName") unless @output_name.nil?
  @output_settings = output_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::OutputSettingsProperty.new(**output_settings.transform_keys(&:to_sym)) : output_settings
  Jsii::Type.check_type(@output_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5PdXRwdXRTZXR0aW5nc1Byb3BlcnR5In1dfX0=")), "outputSettings") unless @output_settings.nil?
  @video_description_name = video_description_name
  Jsii::Type.check_type(@video_description_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "videoDescriptionName") unless @video_description_name.nil?
end

Instance Attribute Details

#audio_description_namesArray<String>? (readonly)

The names of the audio descriptions that are used as audio sources for this output.



12230
12231
12232
# File 'media_live/cfn_channel.rb', line 12230

def audio_description_names
  @audio_description_names
end

#caption_description_namesArray<String>? (readonly)

The names of the caption descriptions that are used as captions sources for this output.



12235
12236
12237
# File 'media_live/cfn_channel.rb', line 12235

def caption_description_names
  @caption_description_names
end

#output_nameString? (readonly)

The name that is used to identify an output.



12240
12241
12242
# File 'media_live/cfn_channel.rb', line 12240

def output_name
  @output_name
end

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

The output type-specific settings.



12245
12246
12247
# File 'media_live/cfn_channel.rb', line 12245

def output_settings
  @output_settings
end

#video_description_nameString? (readonly)

The name of the VideoDescription that is used as the source for this output.



12250
12251
12252
# File 'media_live/cfn_channel.rb', line 12250

def video_description_name
  @video_description_name
end

Class Method Details

.jsii_propertiesObject



12252
12253
12254
12255
12256
12257
12258
12259
12260
# File 'media_live/cfn_channel.rb', line 12252

def self.jsii_properties
  {
    :audio_description_names => "audioDescriptionNames",
    :caption_description_names => "captionDescriptionNames",
    :output_name => "outputName",
    :output_settings => "outputSettings",
    :video_description_name => "videoDescriptionName",
  }
end

Instance Method Details

#to_jsiiObject



12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
# File 'media_live/cfn_channel.rb', line 12262

def to_jsii
  result = {}
  result.merge!({
    "audioDescriptionNames" => @audio_description_names,
    "captionDescriptionNames" => @caption_description_names,
    "outputName" => @output_name,
    "outputSettings" => @output_settings,
    "videoDescriptionName" => @video_description_name,
  })
  result.compact
end