Skip to content
v2.278.0

DashTtmlConfigurationProperty Struct ​

The settings for TTML subtitles.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediapackagev2 as mediapackagev2 } from 'aws-cdk-lib';
const dashTtmlConfigurationProperty: mediapackagev2.CfnOriginEndpoint.DashTtmlConfigurationProperty = {
  ttmlProfile: 'ttmlProfile',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_mediapackagev2 as mediapackagev2

dash_ttml_configuration_property = mediapackagev2.CfnOriginEndpoint.DashTtmlConfigurationProperty(
    ttml_profile="ttmlProfile"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mediapackagev2.*;

DashTtmlConfigurationProperty dashTtmlConfigurationProperty = DashTtmlConfigurationProperty.builder()
        .ttmlProfile("ttmlProfile")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaPackageV2;

var dashTtmlConfigurationProperty = new DashTtmlConfigurationProperty {
    TtmlProfile = "ttmlProfile"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

dashTtmlConfigurationProperty := &DashTtmlConfigurationProperty{
	TtmlProfile: jsii.String("ttmlProfile"),
}

Properties ​

ttmlProfilestringttml_profilestrttmlProfileStringTtmlProfilestringTtmlProfile*string required #
The profile that MediaPackage uses when signaling subtitles in the manifest.
notes

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 .