Class: AWSCDK::MediaLive::CfnChannel::TtmlDestinationSettingsProperty

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

Overview

The setup of TTML captions in the output.

The parent of this entity is CaptionDestinationSettings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(style_control: nil) ⇒ TtmlDestinationSettingsProperty

Returns a new instance of TtmlDestinationSettingsProperty.

Parameters:

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

    When set to passthrough, passes through style and position information from a TTML-like input source (TTML, SMPTE-TT, CFF-TT) to the CFF-TT output or TTML output.



13622
13623
13624
13625
# File 'media_live/cfn_channel.rb', line 13622

def initialize(style_control: nil)
  @style_control = style_control
  Jsii::Type.check_type(@style_control, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "styleControl") unless @style_control.nil?
end

Instance Attribute Details

#style_controlString? (readonly)

When set to passthrough, passes through style and position information from a TTML-like input source (TTML, SMPTE-TT, CFF-TT) to the CFF-TT output or TTML output.



13631
13632
13633
# File 'media_live/cfn_channel.rb', line 13631

def style_control
  @style_control
end

Class Method Details

.jsii_propertiesObject



13633
13634
13635
13636
13637
# File 'media_live/cfn_channel.rb', line 13633

def self.jsii_properties
  {
    :style_control => "styleControl",
  }
end

Instance Method Details

#to_jsiiObject



13639
13640
13641
13642
13643
13644
13645
# File 'media_live/cfn_channel.rb', line 13639

def to_jsii
  result = {}
  result.merge!({
    "styleControl" => @style_control,
  })
  result.compact
end