Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
CaptionLanguageMapping Struct
Maps a captions channel to an ISO 693-2 language code.
| Stability | Experimental |
|---|---|
| Source | lib/output-group.ts |
Example
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 captionLanguageMapping: medialive_alpha.CaptionLanguageMapping = {
captionChannel: 123,
languageCode: 'languageCode',
languageDescription: 'languageDescription',
};
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
caption_language_mapping = medialive_alpha.CaptionLanguageMapping(
caption_channel=123,
language_code="languageCode",
language_description="languageDescription"
)
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.*;
CaptionLanguageMapping captionLanguageMapping = CaptionLanguageMapping.builder()
.captionChannel(123)
.languageCode("languageCode")
.languageDescription("languageDescription")
.build();
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 captionLanguageMapping = new CaptionLanguageMapping {
CaptionChannel = 123,
LanguageCode = "languageCode",
LanguageDescription = "languageDescription"
};
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"
captionLanguageMapping := &CaptionLanguageMapping{
CaptionChannel: jsii.Number(123),
LanguageCode: jsii.String("languageCode"),
LanguageDescription: jsii.String("languageDescription"),
}
Properties
captionChannelnumbercaption_channelint | floatcaptionChannelNumberCaptionChanneldoubleCaptionChannel*float64 required #The closed caption channel number (1-4).
languageCodestringlanguage_codestrlanguageCodeStringLanguageCodestringLanguageCode*string required #A three-character ISO 639-2 language code.
languageDescriptionstringlanguage_descriptionstrlanguageDescriptionStringLanguageDescriptionstringLanguageDescription*string required #The textual description of the language.