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

Whether WebVTT passes through source style/position.

Obtainable from: WebvttStyleControl.NO_STYLE_DATA, WebvttStyleControl.PASSTHROUGH, WebvttStyleControl.of

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

## 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';
const webvttStyleControl = medialive_alpha.WebvttStyleControl.of('value');
```

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.of("value")
```

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 = WebvttStyleControl.of("value");
```

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;

var webvttStyleControl = WebvttStyleControl.Of("value");
```

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"

webvttStyleControl := medialive_alpha.WebvttStyleControl_Of(jsii.String("value"))
```

## Properties

- `NO_STYLE_DATA`: [WebvttStyleControl](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.WebvttStyleControl.html) (static) — Do not pass through style;

  output contains no font styling.

- `PASSTHROUGH`: [WebvttStyleControl](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.WebvttStyleControl.html) (static) — Pass through style (valid only for EMBEDDED or TELETEXT sources).

- `value`: string — The underlying string value passed to CloudFormation.

## Methods

- `of(value: string): WebvttStyleControl // chainable` (static) — A value not yet modelled by AWS CDK.
