Class: AWSCDK::MediaLive::CfnChannel::CmafIngestCaptionLanguageMappingProperty

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(caption_channel: nil, language_code: nil) ⇒ CmafIngestCaptionLanguageMappingProperty

Returns a new instance of CmafIngestCaptionLanguageMappingProperty.

Parameters:

  • caption_channel (Numeric, nil) (defaults to: nil)
  • language_code (String, nil) (defaults to: nil)


3882
3883
3884
3885
3886
3887
# File 'media_live/cfn_channel.rb', line 3882

def initialize(caption_channel: nil, language_code: nil)
  @caption_channel = caption_channel
  Jsii::Type.check_type(@caption_channel, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "captionChannel") unless @caption_channel.nil?
  @language_code = language_code
  Jsii::Type.check_type(@language_code, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "languageCode") unless @language_code.nil?
end

Instance Attribute Details

#caption_channelNumeric? (readonly)



3891
3892
3893
# File 'media_live/cfn_channel.rb', line 3891

def caption_channel
  @caption_channel
end

#language_codeString? (readonly)



3894
3895
3896
# File 'media_live/cfn_channel.rb', line 3894

def language_code
  @language_code
end

Class Method Details

.jsii_propertiesObject



3896
3897
3898
3899
3900
3901
# File 'media_live/cfn_channel.rb', line 3896

def self.jsii_properties
  {
    :caption_channel => "captionChannel",
    :language_code => "languageCode",
  }
end

Instance Method Details

#to_jsiiObject



3903
3904
3905
3906
3907
3908
3909
3910
# File 'media_live/cfn_channel.rb', line 3903

def to_jsii
  result = {}
  result.merge!({
    "captionChannel" => @caption_channel,
    "languageCode" => @language_code,
  })
  result.compact
end