

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::MediaLive::Channel AudioLanguageSelection
<a name="aws-properties-medialive-channel-audiolanguageselection"></a>

Information about the audio language to extract.

The parent of this entity is AudioSelectorSettings.

## Syntax
<a name="aws-properties-medialive-channel-audiolanguageselection-syntax"></a>

To declare this entity in your Amazon CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-medialive-channel-audiolanguageselection-syntax.json"></a>

```
{
  "[LanguageCode](#cfn-medialive-channel-audiolanguageselection-languagecode)" : String,
  "[LanguageSelectionPolicy](#cfn-medialive-channel-audiolanguageselection-languageselectionpolicy)" : String
}
```

### YAML
<a name="aws-properties-medialive-channel-audiolanguageselection-syntax.yaml"></a>

```
  [LanguageCode](#cfn-medialive-channel-audiolanguageselection-languagecode): String
  [LanguageSelectionPolicy](#cfn-medialive-channel-audiolanguageselection-languageselectionpolicy): String
```

## Properties
<a name="aws-properties-medialive-channel-audiolanguageselection-properties"></a>

`LanguageCode`  <a name="cfn-medialive-channel-audiolanguageselection-languagecode"></a>
Selects a specific three-letter language code from within an audio source.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LanguageSelectionPolicy`  <a name="cfn-medialive-channel-audiolanguageselection-languageselectionpolicy"></a>
When set to "strict," the transport stream demux strictly identifies audio streams by their language descriptor. If a PMT update occurs such that an audio stream matching the initially selected language is no longer present, then mute is encoded until the language returns. If set to "loose," then on a PMT update the demux chooses another audio stream in the program with the same stream type if it can't find one with the same language.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)