Class: AWSCDK::MediaLive::CfnChannel::WebvttDestinationSettingsProperty

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

Overview

The configuration of Web VTT 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) ⇒ WebvttDestinationSettingsProperty

Returns a new instance of WebvttDestinationSettingsProperty.

Parameters:

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

    Controls whether the color and position of the source captions is passed through to the WebVTT output captions.



14384
14385
14386
14387
# File 'media_live/cfn_channel.rb', line 14384

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)

Controls whether the color and position of the source captions is passed through to the WebVTT output captions.

PASSTHROUGH - Valid only if the source captions are EMBEDDED or TELETEXT. NO_STYLE_DATA - Don't pass through the style. The output captions will not contain any font styling information.



14395
14396
14397
# File 'media_live/cfn_channel.rb', line 14395

def style_control
  @style_control
end

Class Method Details

.jsii_propertiesObject



14397
14398
14399
14400
14401
# File 'media_live/cfn_channel.rb', line 14397

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

Instance Method Details

#to_jsiiObject



14403
14404
14405
14406
14407
14408
14409
# File 'media_live/cfn_channel.rb', line 14403

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