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

MP2 coding mode.

Obtainable from: Mp2CodingMode.CODING_MODE_1_0, Mp2CodingMode.CODING_MODE_2_0, Mp2CodingMode.of

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

## 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 mp2CodingMode = medialive_alpha.Mp2CodingMode.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

mp2_coding_mode = medialive_alpha.Mp2CodingMode.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.*;

Mp2CodingMode mp2CodingMode = Mp2CodingMode.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 mp2CodingMode = Mp2CodingMode.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"

mp2CodingMode := medialive_alpha.Mp2CodingMode_Of(jsii.String("value"))
```

## Properties

- `CODING_MODE_1_0`: [Mp2CodingMode](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.Mp2CodingMode.html) (static) — 1.0 (mono).

- `CODING_MODE_2_0`: [Mp2CodingMode](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.Mp2CodingMode.html) (static) — 2.0 (stereo).

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

## Methods

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