Class: AWSCDK::MediaLive::CfnChannel::AncillarySourceSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::AncillarySourceSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Information about the ancillary captions to extract from the input.
The parent of this entity is CaptionSelectorSettings.
Instance Attribute Summary collapse
-
#source_ancillary_channel_number ⇒ Numeric?
readonly
Specifies the number (1 to 4) of the captions channel you want to extract from the ancillary captions.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(source_ancillary_channel_number: nil) ⇒ AncillarySourceSettingsProperty
constructor
A new instance of AncillarySourceSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(source_ancillary_channel_number: nil) ⇒ AncillarySourceSettingsProperty
Returns a new instance of AncillarySourceSettingsProperty.
1053 1054 1055 1056 |
# File 'media_live/cfn_channel.rb', line 1053 def initialize(source_ancillary_channel_number: nil) @source_ancillary_channel_number = source_ancillary_channel_number Jsii::Type.check_type(@source_ancillary_channel_number, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "sourceAncillaryChannelNumber") unless @source_ancillary_channel_number.nil? end |
Instance Attribute Details
#source_ancillary_channel_number ⇒ Numeric? (readonly)
Specifies the number (1 to 4) of the captions channel you want to extract from the ancillary captions.
If you plan to convert the ancillary captions to another format, complete this field. If you plan to choose Embedded as the captions destination in the output (to pass through all the channels in the ancillary captions), leave this field blank because MediaLive ignores the field.
1064 1065 1066 |
# File 'media_live/cfn_channel.rb', line 1064 def source_ancillary_channel_number @source_ancillary_channel_number end |
Class Method Details
.jsii_properties ⇒ Object
1066 1067 1068 1069 1070 |
# File 'media_live/cfn_channel.rb', line 1066 def self.jsii_properties { :source_ancillary_channel_number => "sourceAncillaryChannelNumber", } end |
Instance Method Details
#to_jsii ⇒ Object
1072 1073 1074 1075 1076 1077 1078 |
# File 'media_live/cfn_channel.rb', line 1072 def to_jsii result = {} result.merge!({ "sourceAncillaryChannelNumber" => @source_ancillary_channel_number, }) result.compact end |