# CaptionLanguageMappingProperty

Maps a captions channel to an ISO 693-2 language code (http://www.loc.gov/standards/iso639-2), with an optional description.

The parent of this entity is HlsGroupSettings.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const captionLanguageMappingProperty: medialive.CfnChannel.CaptionLanguageMappingProperty = {
  captionChannel: 123,
  languageCode: 'languageCode',
  languageDescription: 'languageDescription',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_medialive as medialive

caption_language_mapping_property = medialive.CfnChannel.CaptionLanguageMappingProperty(
    caption_channel=123,
    language_code="languageCode",
    language_description="languageDescription"
)
```

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

CaptionLanguageMappingProperty captionLanguageMappingProperty = CaptionLanguageMappingProperty.builder()
        .captionChannel(123)
        .languageCode("languageCode")
        .languageDescription("languageDescription")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;

var captionLanguageMappingProperty = new CaptionLanguageMappingProperty {
    CaptionChannel = 123,
    LanguageCode = "languageCode",
    LanguageDescription = "languageDescription"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

captionLanguageMappingProperty := &CaptionLanguageMappingProperty{
	CaptionChannel: jsii.Number(123),
	LanguageCode: jsii.String("languageCode"),
	LanguageDescription: jsii.String("languageDescription"),
}
```

## Properties

- `captionChannel`: number — The closed caption channel being described by this CaptionLanguageMapping.

  Each channel mapping must have a unique channel number (maximum of 4).

- `languageCode`: string — A three-character ISO 639-2 language code (see http://www.loc.gov/standards/iso639-2).

- `languageDescription`: string — The textual description of language.
