Class: AWSCDK::MediaLive::CfnChannel::AncillarySourceSettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_ancillary_channel_number: nil) ⇒ AncillarySourceSettingsProperty

Returns a new instance of AncillarySourceSettingsProperty.

Parameters:

  • source_ancillary_channel_number (Numeric, nil) (defaults to: nil)

    Specifies the number (1 to 4) of the captions channel you want to extract from the ancillary captions.



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_numberNumeric? (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_propertiesObject



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_jsiiObject



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