Class: AWSCDK::MediaPackagev2::CfnOriginEndpoint::DashTtmlConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_packagev2/cfn_origin_endpoint.rb

Overview

The settings for TTML subtitles.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ttml_profile:) ⇒ DashTtmlConfigurationProperty

Returns a new instance of DashTtmlConfigurationProperty.

Parameters:

  • ttml_profile (String)

    The profile that MediaPackage uses when signaling subtitles in the manifest.



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_profileString (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_propertiesObject



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_jsiiObject



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