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

SMPTE-2038 data preference.

Obtainable from: Smpte2038DataPreference.IGNORE, Smpte2038DataPreference.PREFER, Smpte2038DataPreference.of

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

## 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 smpte2038DataPreference = medialive_alpha.Smpte2038DataPreference.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

smpte2038_data_preference = medialive_alpha.Smpte2038DataPreference.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.*;

Smpte2038DataPreference smpte2038DataPreference = Smpte2038DataPreference.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 smpte2038DataPreference = Smpte2038DataPreference.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"

smpte2038DataPreference := medialive_alpha.Smpte2038DataPreference_Of(jsii.String("value"))
```

## Properties

- `IGNORE`: [Smpte2038DataPreference](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.Smpte2038DataPreference.html) (static) — Never extract from SMPTE-2038.

- `PREFER`: [Smpte2038DataPreference](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.Smpte2038DataPreference.html) (static) — Extract from SMPTE-2038 if present.

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

## Methods

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