> **Experimental**
>
> `@aws-cdk/aws-medialive-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.
# TtmlDestinationProps

Properties for TTML caption output.

Used as argument in: [CaptionDestination.ttml](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.CaptionDestination.html#ttml)

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

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';

declare const ttmlStyleControl: medialive_alpha.TtmlStyleControl;
const ttmlDestinationProps: medialive_alpha.TtmlDestinationProps = {
  styleControl: ttmlStyleControl,
};
```

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_medialive_alpha as medialive_alpha

# ttml_style_control: medialive_alpha.TtmlStyleControl

ttml_destination_props = medialive_alpha.TtmlDestinationProps(
    style_control=ttml_style_control
)
```

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.medialive.alpha.*;

TtmlStyleControl ttmlStyleControl;

TtmlDestinationProps ttmlDestinationProps = TtmlDestinationProps.builder()
        .styleControl(ttmlStyleControl)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;

TtmlStyleControl ttmlStyleControl;

var ttmlDestinationProps = new TtmlDestinationProps {
    StyleControl = ttmlStyleControl
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"

var ttmlStyleControl TtmlStyleControl

ttmlDestinationProps := &TtmlDestinationProps{
	StyleControl: ttmlStyleControl,
}
```

## Properties

- `styleControl`: [TtmlStyleControl](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.TtmlStyleControl.html) = TtmlStyleControl.PASSTHROUGH — Whether to pass through style and position from a TTML-like source.
