

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

# AWS::MediaPackage::PackagingConfiguration StreamSelection
<a name="aws-properties-mediapackage-packagingconfiguration-streamselection"></a>

Limitations for outputs from the endpoint, based on the video bitrate.

## Syntax
<a name="aws-properties-mediapackage-packagingconfiguration-streamselection-syntax"></a>

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

### JSON
<a name="aws-properties-mediapackage-packagingconfiguration-streamselection-syntax.json"></a>

```
{
  "[MaxVideoBitsPerSecond](#cfn-mediapackage-packagingconfiguration-streamselection-maxvideobitspersecond)" : Integer,
  "[MinVideoBitsPerSecond](#cfn-mediapackage-packagingconfiguration-streamselection-minvideobitspersecond)" : Integer,
  "[StreamOrder](#cfn-mediapackage-packagingconfiguration-streamselection-streamorder)" : String
}
```

### YAML
<a name="aws-properties-mediapackage-packagingconfiguration-streamselection-syntax.yaml"></a>

```
  [MaxVideoBitsPerSecond](#cfn-mediapackage-packagingconfiguration-streamselection-maxvideobitspersecond): Integer
  [MinVideoBitsPerSecond](#cfn-mediapackage-packagingconfiguration-streamselection-minvideobitspersecond): Integer
  [StreamOrder](#cfn-mediapackage-packagingconfiguration-streamselection-streamorder): String
```

## Properties
<a name="aws-properties-mediapackage-packagingconfiguration-streamselection-properties"></a>

`MaxVideoBitsPerSecond`  <a name="cfn-mediapackage-packagingconfiguration-streamselection-maxvideobitspersecond"></a>
The upper limit of the bitrates that this endpoint serves. If the video track exceeds this threshold, then AWS Elemental MediaPackage excludes it from output. If you don't specify a value, it defaults to 2147483647 bits per second.  
*Required*: No  
*Type*: Integer  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`MinVideoBitsPerSecond`  <a name="cfn-mediapackage-packagingconfiguration-streamselection-minvideobitspersecond"></a>
The lower limit of the bitrates that this endpoint serves. If the video track is below this threshold, then AWS Elemental MediaPackage excludes it from output. If you don't specify a value, it defaults to 0 bits per second.  
*Required*: No  
*Type*: Integer  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`StreamOrder`  <a name="cfn-mediapackage-packagingconfiguration-streamselection-streamorder"></a>
Order in which the different video bitrates are presented to the player.  
Valid values: `ORIGINAL`, `VIDEO_BITRATE_ASCENDING`, `VIDEO_BITRATE_DESCENDING`.  
*Required*: No  
*Type*: String  
*Allowed values*: `ORIGINAL | VIDEO_BITRATE_ASCENDING | VIDEO_BITRATE_DESCENDING`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)