> **Experimental**
>
> `@aws-cdk/aws-mediapackagev2-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# DashTtmlConfiguration

Configuration for TTML subtitles in DASH manifests.

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/endpoint.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-mediapackagev2-alpha/lib/endpoint.ts#L1530)

## Example

TypeScript:

```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 dashTtmlConfiguration: mediapackagev2_alpha.DashTtmlConfiguration = {
  ttmlProfile: mediapackagev2_alpha.TtmlProfile.IMSC_1,
};
```

Python:

```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_ttml_configuration = mediapackagev2_alpha.DashTtmlConfiguration(
    ttml_profile=mediapackagev2_alpha.TtmlProfile.IMSC_1
)
```

Java:

```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.*;

DashTtmlConfiguration dashTtmlConfiguration = DashTtmlConfiguration.builder()
        .ttmlProfile(TtmlProfile.IMSC_1)
        .build();
```

C# / .NET:

```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 dashTtmlConfiguration = new DashTtmlConfiguration {
    TtmlProfile = TtmlProfile.IMSC_1
};
```

Golang:

```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"

dashTtmlConfiguration := &DashTtmlConfiguration{
	TtmlProfile: mediapackagev2_alpha.TtmlProfile_IMSC_1,
}
```

## Properties

- `ttmlProfile`: [TtmlProfile](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-mediapackagev2-alpha.TtmlProfile.html) (required) — 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.
