> **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.
# WebvttDestinationProps

Properties for WebVTT caption output.

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

- 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#L412)

## 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 webvttStyleControl: medialive_alpha.WebvttStyleControl;
const webvttDestinationProps: medialive_alpha.WebvttDestinationProps = {
  styleControl: webvttStyleControl,
};
```

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

# webvtt_style_control: medialive_alpha.WebvttStyleControl

webvtt_destination_props = medialive_alpha.WebvttDestinationProps(
    style_control=webvtt_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.*;

WebvttStyleControl webvttStyleControl;

WebvttDestinationProps webvttDestinationProps = WebvttDestinationProps.builder()
        .styleControl(webvttStyleControl)
        .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;

WebvttStyleControl webvttStyleControl;

var webvttDestinationProps = new WebvttDestinationProps {
    StyleControl = webvttStyleControl
};
```

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 webvttStyleControl WebvttStyleControl

webvttDestinationProps := &WebvttDestinationProps{
	StyleControl: webvttStyleControl,
}
```

## Properties

- `styleControl`: [WebvttStyleControl](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.WebvttStyleControl.html) = WebvttStyleControl.NO_STYLE_DATA — Whether to pass through source color and position to the WebVTT output.

  PASSTHROUGH is only valid for EMBEDDED or TELETEXT sources.
