Skip to content
v2.278.0

Experimental

@aws-cdk/aws-mediapackagev2-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

DashSubtitleConfiguration Struct ​

Configuration for subtitles in DASH manifests.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediapackagev2_alpha from '@aws-cdk/aws-mediapackagev2-alpha';
const dashSubtitleConfiguration: mediapackagev2_alpha.DashSubtitleConfiguration = {
  ttmlConfiguration: {
    ttmlProfile: mediapackagev2_alpha.TtmlProfile.IMSC_1,
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mediapackagev2_alpha as mediapackagev2_alpha

dash_subtitle_configuration = mediapackagev2_alpha.DashSubtitleConfiguration(
    ttml_configuration=mediapackagev2_alpha.DashTtmlConfiguration(
        ttml_profile=mediapackagev2_alpha.TtmlProfile.IMSC_1
    )
)
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.alpha.*;

DashSubtitleConfiguration dashSubtitleConfiguration = DashSubtitleConfiguration.builder()
        .ttmlConfiguration(DashTtmlConfiguration.builder()
                .ttmlProfile(TtmlProfile.IMSC_1)
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaPackageV2.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaPackageV2.Alpha;

var dashSubtitleConfiguration = new DashSubtitleConfiguration {
    TtmlConfiguration = new DashTtmlConfiguration {
        TtmlProfile = TtmlProfile.IMSC_1
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awsmediapackagev2alpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import mediapackagev2_alpha "github.com/aws/aws-cdk-go/awsmediapackagev2alpha"

dashSubtitleConfiguration := &DashSubtitleConfiguration{
	TtmlConfiguration: &DashTtmlConfiguration{
		TtmlProfile: mediapackagev2_alpha.TtmlProfile_IMSC_1,
	},
}

Properties ​

ttmlConfigurationoptionalDashTtmlConfigurationttml_configurationoptionalDashTtmlConfigurationttmlConfigurationoptionalDashTtmlConfigurationTtmlConfigurationoptionalDashTtmlConfigurationTtmlConfigurationoptionalDashTtmlConfiguration #
Settings for TTML subtitles.

Default: No TTML configuration