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

Maps a captions channel to an ISO 639-2 language code for a CMAF Ingest output group.

Unlike `CaptionLanguageMapping`, the CMAF Ingest variant has no language description.

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

## 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 cmafCaptionLanguageMapping: medialive_alpha.CmafCaptionLanguageMapping = {
  captionChannel: 123,
  languageCode: 'languageCode',
};
```

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

cmaf_caption_language_mapping = medialive_alpha.CmafCaptionLanguageMapping(
    caption_channel=123,
    language_code="languageCode"
)
```

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

CmafCaptionLanguageMapping cmafCaptionLanguageMapping = CmafCaptionLanguageMapping.builder()
        .captionChannel(123)
        .languageCode("languageCode")
        .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;

var cmafCaptionLanguageMapping = new CmafCaptionLanguageMapping {
    CaptionChannel = 123,
    LanguageCode = "languageCode"
};
```

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"

cmafCaptionLanguageMapping := &CmafCaptionLanguageMapping{
	CaptionChannel: jsii.Number(123),
	LanguageCode: jsii.String("languageCode"),
}
```

## Properties

- `captionChannel`: number (required) — The closed caption channel number (1-4).

- `languageCode`: string (required) — A three-character ISO 639-2 language code.
