Class: AWSCDK::MediaLive::CfnChannel::CmafIngestCaptionLanguageMappingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::CmafIngestCaptionLanguageMappingProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Instance Attribute Summary collapse
- #caption_channel ⇒ Numeric? readonly
- #language_code ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(caption_channel: nil, language_code: nil) ⇒ CmafIngestCaptionLanguageMappingProperty
constructor
A new instance of CmafIngestCaptionLanguageMappingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(caption_channel: nil, language_code: nil) ⇒ CmafIngestCaptionLanguageMappingProperty
Returns a new instance of CmafIngestCaptionLanguageMappingProperty.
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_channel ⇒ Numeric? (readonly)
3891 3892 3893 |
# File 'media_live/cfn_channel.rb', line 3891 def caption_channel @caption_channel end |
#language_code ⇒ String? (readonly)
3894 3895 3896 |
# File 'media_live/cfn_channel.rb', line 3894 def language_code @language_code end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |