Class: AWSCDK::MediaPackagev2::CfnOriginEndpoint::DashTtmlConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaPackagev2::CfnOriginEndpoint::DashTtmlConfigurationProperty
- Defined in:
- media_packagev2/cfn_origin_endpoint.rb
Overview
The settings for TTML subtitles.
Instance Attribute Summary collapse
-
#ttml_profile ⇒ String
readonly
The profile that MediaPackage uses when signaling subtitles in the manifest.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ttml_profile:) ⇒ DashTtmlConfigurationProperty
constructor
A new instance of DashTtmlConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ttml_profile:) ⇒ DashTtmlConfigurationProperty
Returns a new instance of DashTtmlConfigurationProperty.
1318 1319 1320 1321 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1318 def initialize(ttml_profile:) @ttml_profile = ttml_profile Jsii::Type.check_type(@ttml_profile, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ttmlProfile") end |
Instance Attribute Details
#ttml_profile ⇒ String (readonly)
The profile that MediaPackage uses when signaling subtitles in the manifest.
IMSC is the default profile. EBU-TT-D produces subtitles that are compliant with the EBU-TT-D TTML profile. MediaPackage passes through subtitle styles to the manifest. For more information about EBU-TT-D subtitles, see EBU-TT-D Subtitling Distribution Format .
1329 1330 1331 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1329 def ttml_profile @ttml_profile end |
Class Method Details
.jsii_properties ⇒ Object
1331 1332 1333 1334 1335 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1331 def self.jsii_properties { :ttml_profile => "ttmlProfile", } end |
Instance Method Details
#to_jsii ⇒ Object
1337 1338 1339 1340 1341 1342 1343 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1337 def to_jsii result = {} result.merge!({ "ttmlProfile" => @ttml_profile, }) result.compact end |