

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::MediaConnect::Flow
<a name="aws-resource-mediaconnect-flow"></a>

The `AWS::MediaConnect::Flow` resource defines a connection between one or more video sources and one or more outputs. For each flow, you specify the transport protocol to use, encryption information, and details for any outputs or entitlements that you want. AWS Elemental MediaConnect returns an ingest endpoint where you can send your live video as a single unicast stream. The service replicates and distributes the video to every output that you specify, whether inside or outside the AWS Cloud. You can also set up entitlements on a flow to allow other AWS accounts to access your content. 

## Syntax
<a name="aws-resource-mediaconnect-flow-syntax"></a>

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

### JSON
<a name="aws-resource-mediaconnect-flow-syntax.json"></a>

```
{
  "Type" : "AWS::MediaConnect::Flow",
  "Properties" : {
      "[AvailabilityZone](#cfn-mediaconnect-flow-availabilityzone)" : String,
      "[EncodingConfig](#cfn-mediaconnect-flow-encodingconfig)" : EncodingConfig,
      "[FlowSize](#cfn-mediaconnect-flow-flowsize)" : String,
      "[Maintenance](#cfn-mediaconnect-flow-maintenance)" : Maintenance,
      "[MediaStreams](#cfn-mediaconnect-flow-mediastreams)" : [ MediaStream, ... ],
      "[Name](#cfn-mediaconnect-flow-name)" : String,
      "[NdiConfig](#cfn-mediaconnect-flow-ndiconfig)" : NdiConfig,
      "[Source](#cfn-mediaconnect-flow-source)" : Source,
      "[SourceFailoverConfig](#cfn-mediaconnect-flow-sourcefailoverconfig)" : FailoverConfig,
      "[SourceMonitoringConfig](#cfn-mediaconnect-flow-sourcemonitoringconfig)" : SourceMonitoringConfig,
      "[Tags](#cfn-mediaconnect-flow-tags)" : [ Tag, ... ],
      "[VpcInterfaces](#cfn-mediaconnect-flow-vpcinterfaces)" : [ VpcInterface, ... ]
    }
}
```

### YAML
<a name="aws-resource-mediaconnect-flow-syntax.yaml"></a>

```
Type: AWS::MediaConnect::Flow
Properties:
  [AvailabilityZone](#cfn-mediaconnect-flow-availabilityzone): String
  [EncodingConfig](#cfn-mediaconnect-flow-encodingconfig): 
    EncodingConfig
  [FlowSize](#cfn-mediaconnect-flow-flowsize): String
  [Maintenance](#cfn-mediaconnect-flow-maintenance): 
    Maintenance
  [MediaStreams](#cfn-mediaconnect-flow-mediastreams): 
    - MediaStream
  [Name](#cfn-mediaconnect-flow-name): String
  [NdiConfig](#cfn-mediaconnect-flow-ndiconfig): 
    NdiConfig
  [Source](#cfn-mediaconnect-flow-source): 
    Source
  [SourceFailoverConfig](#cfn-mediaconnect-flow-sourcefailoverconfig): 
    FailoverConfig
  [SourceMonitoringConfig](#cfn-mediaconnect-flow-sourcemonitoringconfig): 
    SourceMonitoringConfig
  [Tags](#cfn-mediaconnect-flow-tags): 
    - Tag
  [VpcInterfaces](#cfn-mediaconnect-flow-vpcinterfaces): 
    - VpcInterface
```

## Properties
<a name="aws-resource-mediaconnect-flow-properties"></a>

`AvailabilityZone`  <a name="cfn-mediaconnect-flow-availabilityzone"></a>
 The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS Region.  
*Required*: No  
*Type*: String  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`EncodingConfig`  <a name="cfn-mediaconnect-flow-encodingconfig"></a>
 The encoding configuration to apply to the NDI® source when transcoding it to a transport stream for downstream distribution.   
*Required*: No  
*Type*: [EncodingConfig](aws-properties-mediaconnect-flow-encodingconfig.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`FlowSize`  <a name="cfn-mediaconnect-flow-flowsize"></a>
 Determines the processing capacity and feature set of the flow.   
*Required*: No  
*Type*: String  
*Allowed values*: `MEDIUM | LARGE | LARGE_4X`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Maintenance`  <a name="cfn-mediaconnect-flow-maintenance"></a>
The maintenance settings you want to use for the flow.   
*Required*: No  
*Type*: [Maintenance](aws-properties-mediaconnect-flow-maintenance.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`MediaStreams`  <a name="cfn-mediaconnect-flow-mediastreams"></a>
 The media streams that are associated with the flow. After you associate a media stream with a source, you can also associate it with outputs on the flow.  
*Required*: No  
*Type*: Array of [MediaStream](aws-properties-mediaconnect-flow-mediastream.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Name`  <a name="cfn-mediaconnect-flow-name"></a>
 The name of the flow.  
*Required*: Yes  
*Type*: String  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`NdiConfig`  <a name="cfn-mediaconnect-flow-ndiconfig"></a>
Specifies the configuration settings for a flow's NDI source or output. Required when the flow includes an NDI source or output.  
*Required*: No  
*Type*: [NdiConfig](aws-properties-mediaconnect-flow-ndiconfig.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Source`  <a name="cfn-mediaconnect-flow-source"></a>
 The settings for the source that you want to use for the new flow.   
*Required*: Yes  
*Type*: [Source](aws-properties-mediaconnect-flow-source.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SourceFailoverConfig`  <a name="cfn-mediaconnect-flow-sourcefailoverconfig"></a>
 The settings for source failover.   
*Required*: No  
*Type*: [FailoverConfig](aws-properties-mediaconnect-flow-failoverconfig.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SourceMonitoringConfig`  <a name="cfn-mediaconnect-flow-sourcemonitoringconfig"></a>
The settings for source monitoring.  
*Required*: No  
*Type*: [SourceMonitoringConfig](aws-properties-mediaconnect-flow-sourcemonitoringconfig.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tags`  <a name="cfn-mediaconnect-flow-tags"></a>
Property description not available.  
*Required*: No  
*Type*: Array of [Tag](aws-properties-mediaconnect-flow-tag.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`VpcInterfaces`  <a name="cfn-mediaconnect-flow-vpcinterfaces"></a>
 The VPC Interfaces for this flow.  
*Required*: No  
*Type*: Array of [VpcInterface](aws-properties-mediaconnect-flow-vpcinterface.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

## Return values
<a name="aws-resource-mediaconnect-flow-return-values"></a>

### Ref
<a name="aws-resource-mediaconnect-flow-return-values-ref"></a>

When you pass the logical ID of this resource to the intrinsic `Ref` function, `Ref` returns the flow ARN. For example:

 `{ "Ref": "arn:aws:mediaconnect:us-east-1:111122223333:flow:1-23aBC45dEF67hiJ8-12AbC34DE5fG:BasketballGame" }` 

For more information about using the `Ref` function, see [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html).

### Fn::GetAtt
<a name="aws-resource-mediaconnect-flow-return-values-fn--getatt"></a>

The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the `Fn::GetAtt` intrinsic function, see [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html).

#### 
<a name="aws-resource-mediaconnect-flow-return-values-fn--getatt-fn--getatt"></a>

`EgressIp`  <a name="EgressIp-fn::getatt"></a>
 The IP address from which video will be sent to output destinations.

`FlowArn`  <a name="FlowArn-fn::getatt"></a>
The Amazon Resource Name (ARN) of the flow.

`FlowAvailabilityZone`  <a name="FlowAvailabilityZone-fn::getatt"></a>
The Availability Zone that the flow was created in. These options are limited to the Availability Zones within the current AWS Region.

`FlowNdiMachineName`  <a name="FlowNdiMachineName-fn::getatt"></a>
 This read-only value represents the automatically-generated NDI machine name that MediaConnect generated for this flow. These NDI machine names are only generated when you don't specify your own custom name. 

`Source.IngestIp`  <a name="Source.IngestIp-fn::getatt"></a>
The IP address that the flow listens on for incoming content.

`Source.SourceArn`  <a name="Source.SourceArn-fn::getatt"></a>
The ARN of the source.

`Source.SourceIngestPort`  <a name="Source.SourceIngestPort-fn::getatt"></a>
The port that the flow listens on for incoming content. If the protocol of the source is Zixi, the port must be set to 2088.

## Examples
<a name="aws-resource-mediaconnect-flow--examples"></a>



**Topics**
+ [Enabling thumbnails](#aws-resource-mediaconnect-flow--examples--Enabling_thumbnails)
+ [Disabling thumbnails](#aws-resource-mediaconnect-flow--examples--Disabling_thumbnails)
+ [Setting a thumbnail state to `None`](#aws-resource-mediaconnect-flow--examples--Setting_a_thumbnail_state_to_None)

### Enabling thumbnails
<a name="aws-resource-mediaconnect-flow--examples--Enabling_thumbnails"></a>

This example demonstrates a flow that sets the thumbnail state to `ENABLED`. You can verify the thumbnail state using the `DescribeFlow` API operation.

#### JSON
<a name="aws-resource-mediaconnect-flow--examples--Enabling_thumbnails--json"></a>

```
{
  "Parameters": {
    "Name": {
      "Type": "String"
    }
  },
  "Resources": {
    "TestFlow": {
      "Type": "AWS::MediaConnect::Flow",
      "Properties": {
        "Name": {
          "Ref": "Name"
        },
        "Source": {
          "Name": "testSource",
          "Protocol": "rtp",
          "IngestPort": 1234,
          "Description": "CFN test Source",
          "WhitelistCidr": "0.0.0.0/0"
        },
        "Maintenance": {
          "MaintenanceDay": "Tuesday",
          "MaintenanceStartHour": "02:00"
        },
        "SourceMonitoringConfig": {
          "ThumbnailState": "ENABLED"
        }
      }
    }
  },
  "Outputs": {
    "FlowArn": {
      "Value": {
        "Ref": "TestFlow"
      }
    }
  }
}
```

#### YAML
<a name="aws-resource-mediaconnect-flow--examples--Enabling_thumbnails--yaml"></a>

```
Parameters:
  Name:
    Type: String

Resources:
  TestFlow:
    Type: AWS::MediaConnect::Flow
    Properties:
      Name: !Ref Name
      Source:
        Name: testSource
        Protocol: rtp
        IngestPort: 1234
        Description: CFN test Source
        WhitelistCidr: 0.0.0.0/0
      Maintenance:
        MaintenanceDay: Tuesday
        MaintenanceStartHour: 02:00
      SourceMonitoringConfig:
        ThumbnailState: ENABLED

Outputs:
  FlowArn:
    Value: !Ref TestFlow
```

### Disabling thumbnails
<a name="aws-resource-mediaconnect-flow--examples--Disabling_thumbnails"></a>

This example demonstrates a flow that sets the thumbnail state to `DISABLED`. You can verify the thumbnail state using the `DescribeFlow` API operation.

#### JSON
<a name="aws-resource-mediaconnect-flow--examples--Disabling_thumbnails--json"></a>

```
{
  "Parameters": {
    "Name": {
      "Type": "String"
    }
  },
  "Resources": {
    "TestFlow": {
      "Type": "AWS::MediaConnect::Flow",
      "Properties": {
        "Name": {
          "Ref": "Name"
        },
        "Source": {
          "Name": "testSource",
          "Protocol": "rtp",
          "IngestPort": 1234,
          "Description": "CFN test Source",
          "WhitelistCidr": "0.0.0.0/0"
        },
        "Maintenance": {
          "MaintenanceDay": "Tuesday",
          "MaintenanceStartHour": "02:00"
        },
        "SourceMonitoringConfig": {
          "ThumbnailState": "DISABLED"
        }
      }
    }
  },
  "Outputs": {
    "FlowArn": {
      "Value": {
        "Ref": "TestFlow"
      }
    }
  }
}
```

#### YAML
<a name="aws-resource-mediaconnect-flow--examples--Disabling_thumbnails--yaml"></a>

```
Parameters:
  Name:
    Type: String

Resources:
  TestFlow:
    Type: AWS::MediaConnect::Flow
    Properties:
      Name: !Ref Name
      Source:
        Name: testSource
        Protocol: rtp
        IngestPort: 1234
        Description: CFN test Source
        WhitelistCidr: 0.0.0.0/0
      Maintenance:
        MaintenanceDay: Tuesday
        MaintenanceStartHour: 02:00
      SourceMonitoringConfig:
        ThumbnailState: DISABLED

Outputs:
  FlowArn:
    Value: !Ref TestFlow
```

### Setting a thumbnail state to `None`
<a name="aws-resource-mediaconnect-flow--examples--Setting_a_thumbnail_state_to_None"></a>

If you don't specify a thumbnail state, it affects new and existing flows differently. Here's how it works in each scenario.

 **Creating a flow** 

When you create a new flow without specifying a thumbnail state, no state has been set yet. After you create your flow in this way, the `DescribeFlow` API operation shows the thumbnail state as `NONE`. 

 **Updating an existing flow** 

When you update an existing flow and remove its thumbnail state (previously set to either `ENABLED` or `DISABLED`), you're altering a previously set state. In this case, the state doesn't become `NONE`. Instead, it defaults to `DISABLED`. This happens because after you've specified a state for an existing flow, it can't revert to `NONE`. The `NONE` state only applies when no state has been set before. After you update your flow in this way, the `DescribeFlow` API operation shows the thumbnail state as `DISABLED`, not `NONE`. 

#### JSON
<a name="aws-resource-mediaconnect-flow--examples--Setting_a_thumbnail_state_to_None--json"></a>

```
{
  "Parameters": {
    "Name": {
      "Type": "String"
    }
  },
  "Resources": {
    "TestFlow": {
      "Type": "AWS::MediaConnect::Flow",
      "Properties": {
        "Name": {
          "Ref": "Name"
        },
        "Source": {
          "Name": "testSource",
          "Protocol": "rtp",
          "IngestPort": 1234,
          "Description": "CFN test Source",
          "WhitelistCidr": "0.0.0.0/0"
        },
        "Maintenance": {
          "MaintenanceDay": "Tuesday",
          "MaintenanceStartHour": "02:00"
        }
      }
    }
  },
  "Outputs": {
    "FlowArn": {
      "Value": {
        "Ref": "TestFlow"
      }
    }
  }
}
```

#### YAML
<a name="aws-resource-mediaconnect-flow--examples--Setting_a_thumbnail_state_to_None--yaml"></a>

```
Parameters:
  Name:
    Type: String

Resources:
  TestFlow:
    Type: AWS::MediaConnect::Flow
    Properties:
      Name: !Ref Name
      Source:
        Name: testSource
        Protocol: rtp
        IngestPort: 1234
        Description: CFN test Source
        WhitelistCidr: 0.0.0.0/0
      Maintenance:
        MaintenanceDay: Tuesday
        MaintenanceStartHour: 02:00

Outputs:
  FlowArn:
    Value: !Ref TestFlow
```

# AWS::MediaConnect::Flow AudioMonitoringSetting
<a name="aws-properties-mediaconnect-flow-audiomonitoringsetting"></a>

 Specifies the configuration for audio stream metrics monitoring.

## Syntax
<a name="aws-properties-mediaconnect-flow-audiomonitoringsetting-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-audiomonitoringsetting-syntax.json"></a>

```
{
  "[SilentAudio](#cfn-mediaconnect-flow-audiomonitoringsetting-silentaudio)" : SilentAudio
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-audiomonitoringsetting-syntax.yaml"></a>

```
  [SilentAudio](#cfn-mediaconnect-flow-audiomonitoringsetting-silentaudio): 
    SilentAudio
```

## Properties
<a name="aws-properties-mediaconnect-flow-audiomonitoringsetting-properties"></a>

`SilentAudio`  <a name="cfn-mediaconnect-flow-audiomonitoringsetting-silentaudio"></a>
 Detects periods of silence.   
*Required*: No  
*Type*: [SilentAudio](aws-properties-mediaconnect-flow-silentaudio.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow BlackFrames
<a name="aws-properties-mediaconnect-flow-blackframes"></a>

 Configures settings for the `BlackFrames` metric.

## Syntax
<a name="aws-properties-mediaconnect-flow-blackframes-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-blackframes-syntax.json"></a>

```
{
  "[State](#cfn-mediaconnect-flow-blackframes-state)" : String,
  "[ThresholdSeconds](#cfn-mediaconnect-flow-blackframes-thresholdseconds)" : Integer
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-blackframes-syntax.yaml"></a>

```
  [State](#cfn-mediaconnect-flow-blackframes-state): String
  [ThresholdSeconds](#cfn-mediaconnect-flow-blackframes-thresholdseconds): Integer
```

## Properties
<a name="aws-properties-mediaconnect-flow-blackframes-properties"></a>

`State`  <a name="cfn-mediaconnect-flow-blackframes-state"></a>
 Indicates whether the `BlackFrames` metric is enabled or disabled..  
*Required*: No  
*Type*: String  
*Allowed values*: `ENABLED | DISABLED`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ThresholdSeconds`  <a name="cfn-mediaconnect-flow-blackframes-thresholdseconds"></a>
 Specifies the number of consecutive seconds of black frames that triggers an event or alert.  
*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)

# AWS::MediaConnect::Flow EncodingConfig
<a name="aws-properties-mediaconnect-flow-encodingconfig"></a>

 The encoding configuration to apply to the NDI® source when transcoding it to a transport stream for downstream distribution. You can choose between several predefined encoding profiles based on common use cases. 

## Syntax
<a name="aws-properties-mediaconnect-flow-encodingconfig-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-encodingconfig-syntax.json"></a>

```
{
  "[EncodingProfile](#cfn-mediaconnect-flow-encodingconfig-encodingprofile)" : String,
  "[VideoMaxBitrate](#cfn-mediaconnect-flow-encodingconfig-videomaxbitrate)" : Integer
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-encodingconfig-syntax.yaml"></a>

```
  [EncodingProfile](#cfn-mediaconnect-flow-encodingconfig-encodingprofile): String
  [VideoMaxBitrate](#cfn-mediaconnect-flow-encodingconfig-videomaxbitrate): Integer
```

## Properties
<a name="aws-properties-mediaconnect-flow-encodingconfig-properties"></a>

`EncodingProfile`  <a name="cfn-mediaconnect-flow-encodingconfig-encodingprofile"></a>
 The encoding profile to use when transcoding the NDI source content to a transport stream. You can change this value while the flow is running.   
*Required*: No  
*Type*: String  
*Allowed values*: `DISTRIBUTION_H264_DEFAULT | CONTRIBUTION_H264_DEFAULT`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`VideoMaxBitrate`  <a name="cfn-mediaconnect-flow-encodingconfig-videomaxbitrate"></a>
 The maximum video bitrate to use when transcoding the NDI source to a transport stream. This parameter enables you to override the default video bitrate within the encoding profile's supported range.   
 The supported range is 10,000,000 - 50,000,000 bits per second (bps). If you don't specify a value, MediaConnect uses the default value of 20,000,000 bps.   
*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)

# AWS::MediaConnect::Flow Encryption
<a name="aws-properties-mediaconnect-flow-encryption"></a>

 Encryption information.

## Syntax
<a name="aws-properties-mediaconnect-flow-encryption-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-encryption-syntax.json"></a>

```
{
  "[Algorithm](#cfn-mediaconnect-flow-encryption-algorithm)" : String,
  "[ConstantInitializationVector](#cfn-mediaconnect-flow-encryption-constantinitializationvector)" : String,
  "[DeviceId](#cfn-mediaconnect-flow-encryption-deviceid)" : String,
  "[KeyType](#cfn-mediaconnect-flow-encryption-keytype)" : String,
  "[Region](#cfn-mediaconnect-flow-encryption-region)" : String,
  "[ResourceId](#cfn-mediaconnect-flow-encryption-resourceid)" : String,
  "[RoleArn](#cfn-mediaconnect-flow-encryption-rolearn)" : String,
  "[SecretArn](#cfn-mediaconnect-flow-encryption-secretarn)" : String,
  "[Url](#cfn-mediaconnect-flow-encryption-url)" : String
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-encryption-syntax.yaml"></a>

```
  [Algorithm](#cfn-mediaconnect-flow-encryption-algorithm): String
  [ConstantInitializationVector](#cfn-mediaconnect-flow-encryption-constantinitializationvector): String
  [DeviceId](#cfn-mediaconnect-flow-encryption-deviceid): String
  [KeyType](#cfn-mediaconnect-flow-encryption-keytype): String
  [Region](#cfn-mediaconnect-flow-encryption-region): String
  [ResourceId](#cfn-mediaconnect-flow-encryption-resourceid): String
  [RoleArn](#cfn-mediaconnect-flow-encryption-rolearn): String
  [SecretArn](#cfn-mediaconnect-flow-encryption-secretarn): String
  [Url](#cfn-mediaconnect-flow-encryption-url): String
```

## Properties
<a name="aws-properties-mediaconnect-flow-encryption-properties"></a>

`Algorithm`  <a name="cfn-mediaconnect-flow-encryption-algorithm"></a>
The type of algorithm that is used for static key encryption (such as aes128, aes192, or aes256). If you are using SPEKE or SRT-password encryption, this property must be left blank.  
*Required*: No  
*Type*: String  
*Allowed values*: `aes128 | aes192 | aes256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ConstantInitializationVector`  <a name="cfn-mediaconnect-flow-encryption-constantinitializationvector"></a>
 A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`DeviceId`  <a name="cfn-mediaconnect-flow-encryption-deviceid"></a>
 The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`KeyType`  <a name="cfn-mediaconnect-flow-encryption-keytype"></a>
The type of key that is used for the encryption. If you don't specify a `keyType` value, the service uses the default setting (`static-key`). Valid key types are: `static-key`, `speke`, and `srt-password`.   
*Required*: No  
*Type*: String  
*Allowed values*: `speke | static-key | srt-password`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Region`  <a name="cfn-mediaconnect-flow-encryption-region"></a>
 The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ResourceId`  <a name="cfn-mediaconnect-flow-encryption-resourceid"></a>
 An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RoleArn`  <a name="cfn-mediaconnect-flow-encryption-rolearn"></a>
 The ARN of the role that you created during setup (when you set up MediaConnect as a trusted entity).  
*Required*: Yes  
*Type*: String  
*Pattern*: `^arn:(aws[a-zA-Z-]*):iam::[0-9]{12}:role/[a-zA-Z0-9_+=,.@-]+$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SecretArn`  <a name="cfn-mediaconnect-flow-encryption-secretarn"></a>
 The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.  
*Required*: No  
*Type*: String  
*Pattern*: `^arn:(aws[a-zA-Z-]*):secretsmanager:[a-z0-9-]+:[0-9]{12}:secret:[a-zA-Z0-9/_+=.@-]+$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Url`  <a name="cfn-mediaconnect-flow-encryption-url"></a>
 The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow FailoverConfig
<a name="aws-properties-mediaconnect-flow-failoverconfig"></a>

 The settings for source failover.

## Syntax
<a name="aws-properties-mediaconnect-flow-failoverconfig-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-failoverconfig-syntax.json"></a>

```
{
  "[FailoverMode](#cfn-mediaconnect-flow-failoverconfig-failovermode)" : String,
  "[RecoveryWindow](#cfn-mediaconnect-flow-failoverconfig-recoverywindow)" : Integer,
  "[SourcePriority](#cfn-mediaconnect-flow-failoverconfig-sourcepriority)" : SourcePriority,
  "[State](#cfn-mediaconnect-flow-failoverconfig-state)" : String
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-failoverconfig-syntax.yaml"></a>

```
  [FailoverMode](#cfn-mediaconnect-flow-failoverconfig-failovermode): String
  [RecoveryWindow](#cfn-mediaconnect-flow-failoverconfig-recoverywindow): Integer
  [SourcePriority](#cfn-mediaconnect-flow-failoverconfig-sourcepriority): 
    SourcePriority
  [State](#cfn-mediaconnect-flow-failoverconfig-state): String
```

## Properties
<a name="aws-properties-mediaconnect-flow-failoverconfig-properties"></a>

`FailoverMode`  <a name="cfn-mediaconnect-flow-failoverconfig-failovermode"></a>
The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams. The string for this property must be entered as MERGE or FAILOVER. No other string entry is valid.  
*Required*: No  
*Type*: String  
*Allowed values*: `MERGE | FAILOVER`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RecoveryWindow`  <a name="cfn-mediaconnect-flow-failoverconfig-recoverywindow"></a>
 Search window time to look for dash-7 packets.  
*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)

`SourcePriority`  <a name="cfn-mediaconnect-flow-failoverconfig-sourcepriority"></a>
 The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.  
*Required*: No  
*Type*: [SourcePriority](aws-properties-mediaconnect-flow-sourcepriority.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`State`  <a name="cfn-mediaconnect-flow-failoverconfig-state"></a>
The state of source failover on the flow. If the state is inactive, the flow can have only one source. If the state is active, the flow can have one or two sources.   
*Required*: No  
*Type*: String  
*Allowed values*: `ENABLED | DISABLED`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow FlowTransitEncryption
<a name="aws-properties-mediaconnect-flow-flowtransitencryption"></a>

The configuration that defines how content is encrypted during transit between the MediaConnect router and a MediaConnect flow.

## Syntax
<a name="aws-properties-mediaconnect-flow-flowtransitencryption-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-flowtransitencryption-syntax.json"></a>

```
{
  "[EncryptionKeyConfiguration](#cfn-mediaconnect-flow-flowtransitencryption-encryptionkeyconfiguration)" : FlowTransitEncryptionKeyConfiguration,
  "[EncryptionKeyType](#cfn-mediaconnect-flow-flowtransitencryption-encryptionkeytype)" : String
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-flowtransitencryption-syntax.yaml"></a>

```
  [EncryptionKeyConfiguration](#cfn-mediaconnect-flow-flowtransitencryption-encryptionkeyconfiguration): 
    FlowTransitEncryptionKeyConfiguration
  [EncryptionKeyType](#cfn-mediaconnect-flow-flowtransitencryption-encryptionkeytype): String
```

## Properties
<a name="aws-properties-mediaconnect-flow-flowtransitencryption-properties"></a>

`EncryptionKeyConfiguration`  <a name="cfn-mediaconnect-flow-flowtransitencryption-encryptionkeyconfiguration"></a>
The configuration details for the encryption key.  
*Required*: Yes  
*Type*: [FlowTransitEncryptionKeyConfiguration](aws-properties-mediaconnect-flow-flowtransitencryptionkeyconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`EncryptionKeyType`  <a name="cfn-mediaconnect-flow-flowtransitencryption-encryptionkeytype"></a>
The type of encryption key to use for flow transit encryption.  
*Required*: No  
*Type*: String  
*Allowed values*: `SECRETS_MANAGER | AUTOMATIC`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow FlowTransitEncryptionKeyConfiguration
<a name="aws-properties-mediaconnect-flow-flowtransitencryptionkeyconfiguration"></a>

Configuration settings for flow transit encryption keys.

## Syntax
<a name="aws-properties-mediaconnect-flow-flowtransitencryptionkeyconfiguration-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-flowtransitencryptionkeyconfiguration-syntax.json"></a>

```
{
  "[Automatic](#cfn-mediaconnect-flow-flowtransitencryptionkeyconfiguration-automatic)" : Json,
  "[SecretsManager](#cfn-mediaconnect-flow-flowtransitencryptionkeyconfiguration-secretsmanager)" : SecretsManagerEncryptionKeyConfiguration
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-flowtransitencryptionkeyconfiguration-syntax.yaml"></a>

```
  [Automatic](#cfn-mediaconnect-flow-flowtransitencryptionkeyconfiguration-automatic): Json
  [SecretsManager](#cfn-mediaconnect-flow-flowtransitencryptionkeyconfiguration-secretsmanager): 
    SecretsManagerEncryptionKeyConfiguration
```

## Properties
<a name="aws-properties-mediaconnect-flow-flowtransitencryptionkeyconfiguration-properties"></a>

`Automatic`  <a name="cfn-mediaconnect-flow-flowtransitencryptionkeyconfiguration-automatic"></a>
Configuration settings for automatic encryption key management, where MediaConnect handles key creation and rotation.  
*Required*: No  
*Type*: Json  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SecretsManager`  <a name="cfn-mediaconnect-flow-flowtransitencryptionkeyconfiguration-secretsmanager"></a>
The configuration settings for transit encryption using AWS Secrets Manager, including the secret ARN and role ARN.  
*Required*: No  
*Type*: [SecretsManagerEncryptionKeyConfiguration](aws-properties-mediaconnect-flow-secretsmanagerencryptionkeyconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow Fmtp
<a name="aws-properties-mediaconnect-flow-fmtp"></a>

 A set of parameters that define the media stream. 

## Syntax
<a name="aws-properties-mediaconnect-flow-fmtp-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-fmtp-syntax.json"></a>

```
{
  "[ChannelOrder](#cfn-mediaconnect-flow-fmtp-channelorder)" : String,
  "[Colorimetry](#cfn-mediaconnect-flow-fmtp-colorimetry)" : String,
  "[ExactFramerate](#cfn-mediaconnect-flow-fmtp-exactframerate)" : String,
  "[Par](#cfn-mediaconnect-flow-fmtp-par)" : String,
  "[Range](#cfn-mediaconnect-flow-fmtp-range)" : String,
  "[ScanMode](#cfn-mediaconnect-flow-fmtp-scanmode)" : String,
  "[Tcs](#cfn-mediaconnect-flow-fmtp-tcs)" : String
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-fmtp-syntax.yaml"></a>

```
  [ChannelOrder](#cfn-mediaconnect-flow-fmtp-channelorder): String
  [Colorimetry](#cfn-mediaconnect-flow-fmtp-colorimetry): String
  [ExactFramerate](#cfn-mediaconnect-flow-fmtp-exactframerate): String
  [Par](#cfn-mediaconnect-flow-fmtp-par): String
  [Range](#cfn-mediaconnect-flow-fmtp-range): String
  [ScanMode](#cfn-mediaconnect-flow-fmtp-scanmode): String
  [Tcs](#cfn-mediaconnect-flow-fmtp-tcs): String
```

## Properties
<a name="aws-properties-mediaconnect-flow-fmtp-properties"></a>

`ChannelOrder`  <a name="cfn-mediaconnect-flow-fmtp-channelorder"></a>
 The format of the audio channel.   
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Colorimetry`  <a name="cfn-mediaconnect-flow-fmtp-colorimetry"></a>
The format used for the representation of color.   
*Required*: No  
*Type*: String  
*Allowed values*: `BT601 | BT709 | BT2020 | BT2100 | ST2065-1 | ST2065-3 | XYZ`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ExactFramerate`  <a name="cfn-mediaconnect-flow-fmtp-exactframerate"></a>
The frame rate for the video stream, in frames/second. For example: 60000/1001.   
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Par`  <a name="cfn-mediaconnect-flow-fmtp-par"></a>
The pixel aspect ratio (PAR) of the video.   
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Range`  <a name="cfn-mediaconnect-flow-fmtp-range"></a>
The encoding range of the video.   
*Required*: No  
*Type*: String  
*Allowed values*: `NARROW | FULL | FULLPROTECT`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ScanMode`  <a name="cfn-mediaconnect-flow-fmtp-scanmode"></a>
The type of compression that was used to smooth the video’s appearance.   
*Required*: No  
*Type*: String  
*Allowed values*: `progressive | interlace | progressive-segmented-frame`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tcs`  <a name="cfn-mediaconnect-flow-fmtp-tcs"></a>
The transfer characteristic system (TCS) that is used in the video.   
*Required*: No  
*Type*: String  
*Allowed values*: `SDR | PQ | HLG | LINEAR | BT2100LINPQ | BT2100LINHLG | ST2065-1 | ST428-1 | DENSITY`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow FrozenFrames
<a name="aws-properties-mediaconnect-flow-frozenframes"></a>

 Configures settings for the `FrozenFrames` metric.

## Syntax
<a name="aws-properties-mediaconnect-flow-frozenframes-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-frozenframes-syntax.json"></a>

```
{
  "[State](#cfn-mediaconnect-flow-frozenframes-state)" : String,
  "[ThresholdSeconds](#cfn-mediaconnect-flow-frozenframes-thresholdseconds)" : Integer
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-frozenframes-syntax.yaml"></a>

```
  [State](#cfn-mediaconnect-flow-frozenframes-state): String
  [ThresholdSeconds](#cfn-mediaconnect-flow-frozenframes-thresholdseconds): Integer
```

## Properties
<a name="aws-properties-mediaconnect-flow-frozenframes-properties"></a>

`State`  <a name="cfn-mediaconnect-flow-frozenframes-state"></a>
Indicates whether the `FrozenFrames` metric is enabled or disabled.  
*Required*: No  
*Type*: String  
*Allowed values*: `ENABLED | DISABLED`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ThresholdSeconds`  <a name="cfn-mediaconnect-flow-frozenframes-thresholdseconds"></a>
 Specifies the number of consecutive seconds of a static image that triggers an event or alert.  
*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)

# AWS::MediaConnect::Flow GatewayBridgeSource
<a name="aws-properties-mediaconnect-flow-gatewaybridgesource"></a>

 The source configuration for cloud flows receiving a stream from a bridge.

## Syntax
<a name="aws-properties-mediaconnect-flow-gatewaybridgesource-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-gatewaybridgesource-syntax.json"></a>

```
{
  "[BridgeArn](#cfn-mediaconnect-flow-gatewaybridgesource-bridgearn)" : String,
  "[VpcInterfaceAttachment](#cfn-mediaconnect-flow-gatewaybridgesource-vpcinterfaceattachment)" : VpcInterfaceAttachment
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-gatewaybridgesource-syntax.yaml"></a>

```
  [BridgeArn](#cfn-mediaconnect-flow-gatewaybridgesource-bridgearn): String
  [VpcInterfaceAttachment](#cfn-mediaconnect-flow-gatewaybridgesource-vpcinterfaceattachment): 
    VpcInterfaceAttachment
```

## Properties
<a name="aws-properties-mediaconnect-flow-gatewaybridgesource-properties"></a>

`BridgeArn`  <a name="cfn-mediaconnect-flow-gatewaybridgesource-bridgearn"></a>
 The ARN of the bridge feeding this flow.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^arn:(aws[a-zA-Z-]*):mediaconnect:[a-z0-9-]+:[0-9]{12}:bridge:[a-zA-Z0-9-]+:[a-zA-Z0-9_-]+$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`VpcInterfaceAttachment`  <a name="cfn-mediaconnect-flow-gatewaybridgesource-vpcinterfaceattachment"></a>
 The name of the VPC interface attachment to use for this bridge source.  
*Required*: No  
*Type*: [VpcInterfaceAttachment](aws-properties-mediaconnect-flow-vpcinterfaceattachment.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow InputConfiguration
<a name="aws-properties-mediaconnect-flow-inputconfiguration"></a>

 The transport parameters that are associated with an incoming media stream.

## Syntax
<a name="aws-properties-mediaconnect-flow-inputconfiguration-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-inputconfiguration-syntax.json"></a>

```
{
  "[InputPort](#cfn-mediaconnect-flow-inputconfiguration-inputport)" : Integer,
  "[Interface](#cfn-mediaconnect-flow-inputconfiguration-interface)" : Interface
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-inputconfiguration-syntax.yaml"></a>

```
  [InputPort](#cfn-mediaconnect-flow-inputconfiguration-inputport): Integer
  [Interface](#cfn-mediaconnect-flow-inputconfiguration-interface): 
    Interface
```

## Properties
<a name="aws-properties-mediaconnect-flow-inputconfiguration-properties"></a>

`InputPort`  <a name="cfn-mediaconnect-flow-inputconfiguration-inputport"></a>
 The port that the flow listens on for an incoming media stream.  
*Required*: Yes  
*Type*: Integer  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Interface`  <a name="cfn-mediaconnect-flow-inputconfiguration-interface"></a>
 The VPC interface where the media stream comes in from.  
*Required*: Yes  
*Type*: [Interface](aws-properties-mediaconnect-flow-interface.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow Interface
<a name="aws-properties-mediaconnect-flow-interface"></a>

 The VPC interface that is used for the media stream associated with the source or output.

## Syntax
<a name="aws-properties-mediaconnect-flow-interface-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-interface-syntax.json"></a>

```
{
  "[Name](#cfn-mediaconnect-flow-interface-name)" : String
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-interface-syntax.yaml"></a>

```
  [Name](#cfn-mediaconnect-flow-interface-name): String
```

## Properties
<a name="aws-properties-mediaconnect-flow-interface-properties"></a>

`Name`  <a name="cfn-mediaconnect-flow-interface-name"></a>
 The name of the VPC interface.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow Maintenance
<a name="aws-properties-mediaconnect-flow-maintenance"></a>

 The maintenance setting of a flow.

## Syntax
<a name="aws-properties-mediaconnect-flow-maintenance-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-maintenance-syntax.json"></a>

```
{
  "[MaintenanceDay](#cfn-mediaconnect-flow-maintenance-maintenanceday)" : String,
  "[MaintenanceStartHour](#cfn-mediaconnect-flow-maintenance-maintenancestarthour)" : String
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-maintenance-syntax.yaml"></a>

```
  [MaintenanceDay](#cfn-mediaconnect-flow-maintenance-maintenanceday): String
  [MaintenanceStartHour](#cfn-mediaconnect-flow-maintenance-maintenancestarthour): String
```

## Properties
<a name="aws-properties-mediaconnect-flow-maintenance-properties"></a>

`MaintenanceDay`  <a name="cfn-mediaconnect-flow-maintenance-maintenanceday"></a>
 A day of a week when the maintenance will happen. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`MaintenanceStartHour`  <a name="cfn-mediaconnect-flow-maintenance-maintenancestarthour"></a>
 UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow MediaStream
<a name="aws-properties-mediaconnect-flow-mediastream"></a>

 A media stream represents one component of your content, such as video, audio, or ancillary data. After you add a media stream to your flow, you can associate it with sources and outputs that use the ST 2110 JPEG XS or CDI protocol. 

## Syntax
<a name="aws-properties-mediaconnect-flow-mediastream-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-mediastream-syntax.json"></a>

```
{
  "[Attributes](#cfn-mediaconnect-flow-mediastream-attributes)" : MediaStreamAttributes,
  "[ClockRate](#cfn-mediaconnect-flow-mediastream-clockrate)" : Integer,
  "[Description](#cfn-mediaconnect-flow-mediastream-description)" : String,
  "[Fmt](#cfn-mediaconnect-flow-mediastream-fmt)" : Integer,
  "[MediaStreamId](#cfn-mediaconnect-flow-mediastream-mediastreamid)" : Integer,
  "[MediaStreamName](#cfn-mediaconnect-flow-mediastream-mediastreamname)" : String,
  "[MediaStreamType](#cfn-mediaconnect-flow-mediastream-mediastreamtype)" : String,
  "[Tags](#cfn-mediaconnect-flow-mediastream-tags)" : [ Tag, ... ],
  "[VideoFormat](#cfn-mediaconnect-flow-mediastream-videoformat)" : String
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-mediastream-syntax.yaml"></a>

```
  [Attributes](#cfn-mediaconnect-flow-mediastream-attributes): 
    MediaStreamAttributes
  [ClockRate](#cfn-mediaconnect-flow-mediastream-clockrate): Integer
  [Description](#cfn-mediaconnect-flow-mediastream-description): String
  [Fmt](#cfn-mediaconnect-flow-mediastream-fmt): Integer
  [MediaStreamId](#cfn-mediaconnect-flow-mediastream-mediastreamid): Integer
  [MediaStreamName](#cfn-mediaconnect-flow-mediastream-mediastreamname): String
  [MediaStreamType](#cfn-mediaconnect-flow-mediastream-mediastreamtype): String
  [Tags](#cfn-mediaconnect-flow-mediastream-tags): 
    - Tag
  [VideoFormat](#cfn-mediaconnect-flow-mediastream-videoformat): String
```

## Properties
<a name="aws-properties-mediaconnect-flow-mediastream-properties"></a>

`Attributes`  <a name="cfn-mediaconnect-flow-mediastream-attributes"></a>
 Attributes that are related to the media stream.  
*Required*: No  
*Type*: [MediaStreamAttributes](aws-properties-mediaconnect-flow-mediastreamattributes.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ClockRate`  <a name="cfn-mediaconnect-flow-mediastream-clockrate"></a>
 The sample rate for the stream. This value is measured in Hz.  
*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)

`Description`  <a name="cfn-mediaconnect-flow-mediastream-description"></a>
 A description that can help you quickly identify what your media stream is used for.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Fmt`  <a name="cfn-mediaconnect-flow-mediastream-fmt"></a>
 The format type number (sometimes referred to as RTP payload type) of the media stream. MediaConnect assigns this value to the media stream. For ST 2110 JPEG XS outputs, you need to provide this value to the receiver.  
*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)

`MediaStreamId`  <a name="cfn-mediaconnect-flow-mediastream-mediastreamid"></a>
 A unique identifier for the media stream.   
*Required*: Yes  
*Type*: Integer  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`MediaStreamName`  <a name="cfn-mediaconnect-flow-mediastream-mediastreamname"></a>
 A name that helps you distinguish one media stream from another.   
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`MediaStreamType`  <a name="cfn-mediaconnect-flow-mediastream-mediastreamtype"></a>
 The type of media stream.   
*Required*: Yes  
*Type*: String  
*Allowed values*: `video | audio | ancillary-data`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tags`  <a name="cfn-mediaconnect-flow-mediastream-tags"></a>
Property description not available.  
*Required*: No  
*Type*: Array of [Tag](aws-properties-mediaconnect-flow-tag.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`VideoFormat`  <a name="cfn-mediaconnect-flow-mediastream-videoformat"></a>
 The resolution of the video.   
*Required*: No  
*Type*: String  
*Allowed values*: `2160p | 1080p | 1080i | 720p | 480p`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow MediaStreamAttributes
<a name="aws-properties-mediaconnect-flow-mediastreamattributes"></a>

Attributes that are related to the media stream. 

## Syntax
<a name="aws-properties-mediaconnect-flow-mediastreamattributes-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-mediastreamattributes-syntax.json"></a>

```
{
  "[Fmtp](#cfn-mediaconnect-flow-mediastreamattributes-fmtp)" : Fmtp,
  "[Lang](#cfn-mediaconnect-flow-mediastreamattributes-lang)" : String
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-mediastreamattributes-syntax.yaml"></a>

```
  [Fmtp](#cfn-mediaconnect-flow-mediastreamattributes-fmtp): 
    Fmtp
  [Lang](#cfn-mediaconnect-flow-mediastreamattributes-lang): String
```

## Properties
<a name="aws-properties-mediaconnect-flow-mediastreamattributes-properties"></a>

`Fmtp`  <a name="cfn-mediaconnect-flow-mediastreamattributes-fmtp"></a>
The settings that you want to use to define the media stream.   
*Required*: No  
*Type*: [Fmtp](aws-properties-mediaconnect-flow-fmtp.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Lang`  <a name="cfn-mediaconnect-flow-mediastreamattributes-lang"></a>
The audio language, in a format that is recognized by the receiver.   
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow MediaStreamSourceConfiguration
<a name="aws-properties-mediaconnect-flow-mediastreamsourceconfiguration"></a>

The media stream that is associated with the source, and the parameters for that association. 

## Syntax
<a name="aws-properties-mediaconnect-flow-mediastreamsourceconfiguration-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-mediastreamsourceconfiguration-syntax.json"></a>

```
{
  "[EncodingName](#cfn-mediaconnect-flow-mediastreamsourceconfiguration-encodingname)" : String,
  "[InputConfigurations](#cfn-mediaconnect-flow-mediastreamsourceconfiguration-inputconfigurations)" : [ InputConfiguration, ... ],
  "[MediaStreamName](#cfn-mediaconnect-flow-mediastreamsourceconfiguration-mediastreamname)" : String
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-mediastreamsourceconfiguration-syntax.yaml"></a>

```
  [EncodingName](#cfn-mediaconnect-flow-mediastreamsourceconfiguration-encodingname): String
  [InputConfigurations](#cfn-mediaconnect-flow-mediastreamsourceconfiguration-inputconfigurations): 
    - InputConfiguration
  [MediaStreamName](#cfn-mediaconnect-flow-mediastreamsourceconfiguration-mediastreamname): String
```

## Properties
<a name="aws-properties-mediaconnect-flow-mediastreamsourceconfiguration-properties"></a>

`EncodingName`  <a name="cfn-mediaconnect-flow-mediastreamsourceconfiguration-encodingname"></a>
 The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.   
*Required*: Yes  
*Type*: String  
*Allowed values*: `jxsv | raw | smpte291 | pcm`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`InputConfigurations`  <a name="cfn-mediaconnect-flow-mediastreamsourceconfiguration-inputconfigurations"></a>
The media streams that you want to associate with the source.   
*Required*: No  
*Type*: Array of [InputConfiguration](aws-properties-mediaconnect-flow-inputconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`MediaStreamName`  <a name="cfn-mediaconnect-flow-mediastreamsourceconfiguration-mediastreamname"></a>
A name that helps you distinguish one media stream from another.   
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow NdiConfig
<a name="aws-properties-mediaconnect-flow-ndiconfig"></a>

Specifies the configuration settings for NDI sources and outputs. 

## Syntax
<a name="aws-properties-mediaconnect-flow-ndiconfig-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-ndiconfig-syntax.json"></a>

```
{
  "[MachineName](#cfn-mediaconnect-flow-ndiconfig-machinename)" : String,
  "[NdiDiscoveryServers](#cfn-mediaconnect-flow-ndiconfig-ndidiscoveryservers)" : [ NdiDiscoveryServerConfig, ... ],
  "[NdiState](#cfn-mediaconnect-flow-ndiconfig-ndistate)" : String
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-ndiconfig-syntax.yaml"></a>

```
  [MachineName](#cfn-mediaconnect-flow-ndiconfig-machinename): String
  [NdiDiscoveryServers](#cfn-mediaconnect-flow-ndiconfig-ndidiscoveryservers): 
    - NdiDiscoveryServerConfig
  [NdiState](#cfn-mediaconnect-flow-ndiconfig-ndistate): String
```

## Properties
<a name="aws-properties-mediaconnect-flow-ndiconfig-properties"></a>

`MachineName`  <a name="cfn-mediaconnect-flow-ndiconfig-machinename"></a>
A prefix for the names of the NDI sources that the flow creates. If a custom name isn't specified, MediaConnect generates a unique 12-character ID as the prefix.   
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`NdiDiscoveryServers`  <a name="cfn-mediaconnect-flow-ndiconfig-ndidiscoveryservers"></a>
A list of up to three NDI discovery server configurations. While not required by the API, this configuration is necessary for NDI functionality to work properly.   
*Required*: No  
*Type*: Array of [NdiDiscoveryServerConfig](aws-properties-mediaconnect-flow-ndidiscoveryserverconfig.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`NdiState`  <a name="cfn-mediaconnect-flow-ndiconfig-ndistate"></a>
A setting that controls whether NDI® sources or outputs can be used in the flow.   
 The default value is `DISABLED`. This value must be set as `ENABLED` for your flow to support NDI sources or outputs.   
*Required*: No  
*Type*: String  
*Allowed values*: `ENABLED | DISABLED`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow NdiDiscoveryServerConfig
<a name="aws-properties-mediaconnect-flow-ndidiscoveryserverconfig"></a>

Specifies the configuration settings for individual NDI® discovery servers. A maximum of 3 servers is allowed. 

## Syntax
<a name="aws-properties-mediaconnect-flow-ndidiscoveryserverconfig-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-ndidiscoveryserverconfig-syntax.json"></a>

```
{
  "[DiscoveryServerAddress](#cfn-mediaconnect-flow-ndidiscoveryserverconfig-discoveryserveraddress)" : String,
  "[DiscoveryServerPort](#cfn-mediaconnect-flow-ndidiscoveryserverconfig-discoveryserverport)" : Integer,
  "[VpcInterfaceAdapter](#cfn-mediaconnect-flow-ndidiscoveryserverconfig-vpcinterfaceadapter)" : String
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-ndidiscoveryserverconfig-syntax.yaml"></a>

```
  [DiscoveryServerAddress](#cfn-mediaconnect-flow-ndidiscoveryserverconfig-discoveryserveraddress): String
  [DiscoveryServerPort](#cfn-mediaconnect-flow-ndidiscoveryserverconfig-discoveryserverport): Integer
  [VpcInterfaceAdapter](#cfn-mediaconnect-flow-ndidiscoveryserverconfig-vpcinterfaceadapter): String
```

## Properties
<a name="aws-properties-mediaconnect-flow-ndidiscoveryserverconfig-properties"></a>

`DiscoveryServerAddress`  <a name="cfn-mediaconnect-flow-ndidiscoveryserverconfig-discoveryserveraddress"></a>
The unique network address of the NDI discovery server.   
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`DiscoveryServerPort`  <a name="cfn-mediaconnect-flow-ndidiscoveryserverconfig-discoveryserverport"></a>
The port for the NDI discovery server. Defaults to 5959 if a custom port isn't specified.   
*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)

`VpcInterfaceAdapter`  <a name="cfn-mediaconnect-flow-ndidiscoveryserverconfig-vpcinterfaceadapter"></a>
The identifier for the Virtual Private Cloud (VPC) network interface used by the flow.   
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow NdiSourceSettings
<a name="aws-properties-mediaconnect-flow-ndisourcesettings"></a>

 The settings for the NDI® source. This includes the exact name of the upstream NDI sender that you want to connect to your source. 

## Syntax
<a name="aws-properties-mediaconnect-flow-ndisourcesettings-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-ndisourcesettings-syntax.json"></a>

```
{
  "[SourceName](#cfn-mediaconnect-flow-ndisourcesettings-sourcename)" : String
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-ndisourcesettings-syntax.yaml"></a>

```
  [SourceName](#cfn-mediaconnect-flow-ndisourcesettings-sourcename): String
```

## Properties
<a name="aws-properties-mediaconnect-flow-ndisourcesettings-properties"></a>

`SourceName`  <a name="cfn-mediaconnect-flow-ndisourcesettings-sourcename"></a>
 The exact name of an existing NDI sender that's registered with your discovery server. If included, the format of this name must be `MACHINENAME (ProgramName)`.   
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow SecretsManagerEncryptionKeyConfiguration
<a name="aws-properties-mediaconnect-flow-secretsmanagerencryptionkeyconfiguration"></a>

The configuration settings for transit encryption using AWS Secrets Manager, including the secret ARN and role ARN.

## Syntax
<a name="aws-properties-mediaconnect-flow-secretsmanagerencryptionkeyconfiguration-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-secretsmanagerencryptionkeyconfiguration-syntax.json"></a>

```
{
  "[RoleArn](#cfn-mediaconnect-flow-secretsmanagerencryptionkeyconfiguration-rolearn)" : String,
  "[SecretArn](#cfn-mediaconnect-flow-secretsmanagerencryptionkeyconfiguration-secretarn)" : String
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-secretsmanagerencryptionkeyconfiguration-syntax.yaml"></a>

```
  [RoleArn](#cfn-mediaconnect-flow-secretsmanagerencryptionkeyconfiguration-rolearn): String
  [SecretArn](#cfn-mediaconnect-flow-secretsmanagerencryptionkeyconfiguration-secretarn): String
```

## Properties
<a name="aws-properties-mediaconnect-flow-secretsmanagerencryptionkeyconfiguration-properties"></a>

`RoleArn`  <a name="cfn-mediaconnect-flow-secretsmanagerencryptionkeyconfiguration-rolearn"></a>
The ARN of the IAM role assumed by MediaConnect to access the AWS Secrets Manager secret.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^arn:(aws[a-zA-Z-]*):iam::[0-9]{12}:role/[a-zA-Z0-9_+=,.@-]+$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SecretArn`  <a name="cfn-mediaconnect-flow-secretsmanagerencryptionkeyconfiguration-secretarn"></a>
The ARN of the AWS Secrets Manager secret used for transit encryption.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^arn:(aws[a-zA-Z-]*):secretsmanager:[a-z0-9-]+:[0-9]{12}:secret:[a-zA-Z0-9/_+=.@-]+$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow SilentAudio
<a name="aws-properties-mediaconnect-flow-silentaudio"></a>

Configures settings for the `SilentAudio` metric. 

## Syntax
<a name="aws-properties-mediaconnect-flow-silentaudio-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-silentaudio-syntax.json"></a>

```
{
  "[State](#cfn-mediaconnect-flow-silentaudio-state)" : String,
  "[ThresholdSeconds](#cfn-mediaconnect-flow-silentaudio-thresholdseconds)" : Integer
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-silentaudio-syntax.yaml"></a>

```
  [State](#cfn-mediaconnect-flow-silentaudio-state): String
  [ThresholdSeconds](#cfn-mediaconnect-flow-silentaudio-thresholdseconds): Integer
```

## Properties
<a name="aws-properties-mediaconnect-flow-silentaudio-properties"></a>

`State`  <a name="cfn-mediaconnect-flow-silentaudio-state"></a>
Indicates whether the `SilentAudio` metric is enabled or disabled.   
*Required*: No  
*Type*: String  
*Allowed values*: `ENABLED | DISABLED`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ThresholdSeconds`  <a name="cfn-mediaconnect-flow-silentaudio-thresholdseconds"></a>
Specifies the number of consecutive seconds of silence that triggers an event or alert.   
*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)

# AWS::MediaConnect::Flow Source
<a name="aws-properties-mediaconnect-flow-source"></a>

The details of the sources of the flow.

If you are creating a flow with a VPC source, you must first create the flow with a temporary standard source by doing the following:

1. Use CloudFormation to create a flow with a standard source that uses the flow’s public IP address.

1. Use CloudFormation to create the VPC interface to add to this flow. This can also be done as part of the previous step.

1. After CloudFormation has created the flow and the VPC interface, update the source to point to the VPC interface that you created.

## Syntax
<a name="aws-properties-mediaconnect-flow-source-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-source-syntax.json"></a>

```
{
  "[Decryption](#cfn-mediaconnect-flow-source-decryption)" : Encryption,
  "[Description](#cfn-mediaconnect-flow-source-description)" : String,
  "[EntitlementArn](#cfn-mediaconnect-flow-source-entitlementarn)" : String,
  "[GatewayBridgeSource](#cfn-mediaconnect-flow-source-gatewaybridgesource)" : GatewayBridgeSource,
  "[IngestIp](#cfn-mediaconnect-flow-source-ingestip)" : String,
  "[IngestPort](#cfn-mediaconnect-flow-source-ingestport)" : Integer,
  "[MaxBitrate](#cfn-mediaconnect-flow-source-maxbitrate)" : Integer,
  "[MaxLatency](#cfn-mediaconnect-flow-source-maxlatency)" : Integer,
  "[MaxSyncBuffer](#cfn-mediaconnect-flow-source-maxsyncbuffer)" : Integer,
  "[MediaStreamSourceConfigurations](#cfn-mediaconnect-flow-source-mediastreamsourceconfigurations)" : [ MediaStreamSourceConfiguration, ... ],
  "[MinLatency](#cfn-mediaconnect-flow-source-minlatency)" : Integer,
  "[Name](#cfn-mediaconnect-flow-source-name)" : String,
  "[NdiSourceSettings](#cfn-mediaconnect-flow-source-ndisourcesettings)" : NdiSourceSettings,
  "[Protocol](#cfn-mediaconnect-flow-source-protocol)" : String,
  "[RouterIntegrationState](#cfn-mediaconnect-flow-source-routerintegrationstate)" : String,
  "[RouterIntegrationTransitDecryption](#cfn-mediaconnect-flow-source-routerintegrationtransitdecryption)" : FlowTransitEncryption,
  "[SenderControlPort](#cfn-mediaconnect-flow-source-sendercontrolport)" : Integer,
  "[SenderIpAddress](#cfn-mediaconnect-flow-source-senderipaddress)" : String,
  "[SourceArn](#cfn-mediaconnect-flow-source-sourcearn)" : String,
  "[SourceIngestPort](#cfn-mediaconnect-flow-source-sourceingestport)" : String,
  "[SourceListenerAddress](#cfn-mediaconnect-flow-source-sourcelisteneraddress)" : String,
  "[SourceListenerPort](#cfn-mediaconnect-flow-source-sourcelistenerport)" : Integer,
  "[StreamId](#cfn-mediaconnect-flow-source-streamid)" : String,
  "[Tags](#cfn-mediaconnect-flow-source-tags)" : [ Tag, ... ],
  "[VpcInterfaceName](#cfn-mediaconnect-flow-source-vpcinterfacename)" : String,
  "[WhitelistCidr](#cfn-mediaconnect-flow-source-whitelistcidr)" : String
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-source-syntax.yaml"></a>

```
  [Decryption](#cfn-mediaconnect-flow-source-decryption): 
    Encryption
  [Description](#cfn-mediaconnect-flow-source-description): String
  [EntitlementArn](#cfn-mediaconnect-flow-source-entitlementarn): String
  [GatewayBridgeSource](#cfn-mediaconnect-flow-source-gatewaybridgesource): 
    GatewayBridgeSource
  [IngestIp](#cfn-mediaconnect-flow-source-ingestip): String
  [IngestPort](#cfn-mediaconnect-flow-source-ingestport): Integer
  [MaxBitrate](#cfn-mediaconnect-flow-source-maxbitrate): Integer
  [MaxLatency](#cfn-mediaconnect-flow-source-maxlatency): Integer
  [MaxSyncBuffer](#cfn-mediaconnect-flow-source-maxsyncbuffer): Integer
  [MediaStreamSourceConfigurations](#cfn-mediaconnect-flow-source-mediastreamsourceconfigurations): 
    - MediaStreamSourceConfiguration
  [MinLatency](#cfn-mediaconnect-flow-source-minlatency): Integer
  [Name](#cfn-mediaconnect-flow-source-name): String
  [NdiSourceSettings](#cfn-mediaconnect-flow-source-ndisourcesettings): 
    NdiSourceSettings
  [Protocol](#cfn-mediaconnect-flow-source-protocol): String
  [RouterIntegrationState](#cfn-mediaconnect-flow-source-routerintegrationstate): String
  [RouterIntegrationTransitDecryption](#cfn-mediaconnect-flow-source-routerintegrationtransitdecryption): 
    FlowTransitEncryption
  [SenderControlPort](#cfn-mediaconnect-flow-source-sendercontrolport): Integer
  [SenderIpAddress](#cfn-mediaconnect-flow-source-senderipaddress): String
  [SourceArn](#cfn-mediaconnect-flow-source-sourcearn): String
  [SourceIngestPort](#cfn-mediaconnect-flow-source-sourceingestport): String
  [SourceListenerAddress](#cfn-mediaconnect-flow-source-sourcelisteneraddress): String
  [SourceListenerPort](#cfn-mediaconnect-flow-source-sourcelistenerport): Integer
  [StreamId](#cfn-mediaconnect-flow-source-streamid): String
  [Tags](#cfn-mediaconnect-flow-source-tags): 
    - Tag
  [VpcInterfaceName](#cfn-mediaconnect-flow-source-vpcinterfacename): String
  [WhitelistCidr](#cfn-mediaconnect-flow-source-whitelistcidr): String
```

## Properties
<a name="aws-properties-mediaconnect-flow-source-properties"></a>

`Decryption`  <a name="cfn-mediaconnect-flow-source-decryption"></a>
 The type of encryption that is used on the content ingested from this source.  
*Required*: No  
*Type*: [Encryption](aws-properties-mediaconnect-flow-encryption.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Description`  <a name="cfn-mediaconnect-flow-source-description"></a>
 A description for the source. This value is not used or seen outside of the current MediaConnect account.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`EntitlementArn`  <a name="cfn-mediaconnect-flow-source-entitlementarn"></a>
 The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account. The entitlement is set by the content originator and the ARN is generated as part of the originator's flow.  
*Required*: No  
*Type*: String  
*Pattern*: `^arn:(aws[a-zA-Z-]*):mediaconnect:[a-z0-9-]+:[0-9]{12}:entitlement:[a-zA-Z0-9-]+:[a-zA-Z0-9_-]+$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`GatewayBridgeSource`  <a name="cfn-mediaconnect-flow-source-gatewaybridgesource"></a>
 The source configuration for cloud flows receiving a stream from a bridge.  
*Required*: No  
*Type*: [GatewayBridgeSource](aws-properties-mediaconnect-flow-gatewaybridgesource.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`IngestIp`  <a name="cfn-mediaconnect-flow-source-ingestip"></a>
 The IP address that the flow will be listening on for incoming content.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`IngestPort`  <a name="cfn-mediaconnect-flow-source-ingestport"></a>
 The port that the flow will be listening on for incoming content.  
*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)

`MaxBitrate`  <a name="cfn-mediaconnect-flow-source-maxbitrate"></a>
The maximum bitrate for RIST, RTP, and RTP-FEC streams.  
*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)

`MaxLatency`  <a name="cfn-mediaconnect-flow-source-maxlatency"></a>
The maximum latency in milliseconds for a RIST or Zixi-based source.  
*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)

`MaxSyncBuffer`  <a name="cfn-mediaconnect-flow-source-maxsyncbuffer"></a>
The size of the buffer (in milliseconds) to use to sync incoming source data.  
*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)

`MediaStreamSourceConfigurations`  <a name="cfn-mediaconnect-flow-source-mediastreamsourceconfigurations"></a>
 The media streams that are associated with the source, and the parameters for those associations.  
*Required*: No  
*Type*: Array of [MediaStreamSourceConfiguration](aws-properties-mediaconnect-flow-mediastreamsourceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`MinLatency`  <a name="cfn-mediaconnect-flow-source-minlatency"></a>
The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.  
*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)

`Name`  <a name="cfn-mediaconnect-flow-source-name"></a>
 The name of the source.  
*Required*: No  
*Type*: String  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`NdiSourceSettings`  <a name="cfn-mediaconnect-flow-source-ndisourcesettings"></a>
Property description not available.  
*Required*: No  
*Type*: [NdiSourceSettings](aws-properties-mediaconnect-flow-ndisourcesettings.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Protocol`  <a name="cfn-mediaconnect-flow-source-protocol"></a>
The protocol that is used by the source. AWS CloudFormation does not currently support CDI or ST 2110 JPEG XS source protocols.  
AWS Elemental MediaConnect no longer supports the Fujitsu QoS protocol. This reference is maintained for legacy purposes only.
*Required*: No  
*Type*: String  
*Allowed values*: `zixi-push | rtp-fec | rtp | rist | srt-listener | srt-caller | st2110-jpegxs | cdi | ndi-speed-hq`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RouterIntegrationState`  <a name="cfn-mediaconnect-flow-source-routerintegrationstate"></a>
Indicates if router integration is enabled or disabled on the flow source.  
*Required*: No  
*Type*: String  
*Allowed values*: `ENABLED | DISABLED`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RouterIntegrationTransitDecryption`  <a name="cfn-mediaconnect-flow-source-routerintegrationtransitdecryption"></a>
The decryption configuration for the flow source when router integration is enabled.  
*Required*: No  
*Type*: [FlowTransitEncryption](aws-properties-mediaconnect-flow-flowtransitencryption.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SenderControlPort`  <a name="cfn-mediaconnect-flow-source-sendercontrolport"></a>
The port that the flow uses to send outbound requests to initiate connection with the sender.  
*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)

`SenderIpAddress`  <a name="cfn-mediaconnect-flow-source-senderipaddress"></a>
The IP address that the flow communicates with to initiate connection with the sender.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SourceArn`  <a name="cfn-mediaconnect-flow-source-sourcearn"></a>
 The ARN of the source.  
*Required*: No  
*Type*: String  
*Pattern*: `^arn:(aws[a-zA-Z-]*):mediaconnect:[a-z0-9-]+:[0-9]{12}:source:[a-zA-Z0-9-]+:[a-zA-Z0-9_-]+$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SourceIngestPort`  <a name="cfn-mediaconnect-flow-source-sourceingestport"></a>
The port that the flow listens on for incoming content. If the protocol of the source is Zixi, the port must be set to 2088.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SourceListenerAddress`  <a name="cfn-mediaconnect-flow-source-sourcelisteneraddress"></a>
Source IP or domain name for SRT-caller protocol.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SourceListenerPort`  <a name="cfn-mediaconnect-flow-source-sourcelistenerport"></a>
Source port for SRT-caller protocol.  
*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)

`StreamId`  <a name="cfn-mediaconnect-flow-source-streamid"></a>
The stream ID that you want to use for the transport. This parameter applies only to Zixi-based streams.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tags`  <a name="cfn-mediaconnect-flow-source-tags"></a>
Property description not available.  
*Required*: No  
*Type*: Array of [Tag](aws-properties-mediaconnect-flow-tag.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`VpcInterfaceName`  <a name="cfn-mediaconnect-flow-source-vpcinterfacename"></a>
 The name of the VPC interface that is used for this source.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`WhitelistCidr`  <a name="cfn-mediaconnect-flow-source-whitelistcidr"></a>
 The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow SourceMonitoringConfig
<a name="aws-properties-mediaconnect-flow-sourcemonitoringconfig"></a>

The `SourceMonitoringConfig` property type specifies the source monitoring settings for an `AWS::MediaConnect::Flow`.

## Syntax
<a name="aws-properties-mediaconnect-flow-sourcemonitoringconfig-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-sourcemonitoringconfig-syntax.json"></a>

```
{
  "[AudioMonitoringSettings](#cfn-mediaconnect-flow-sourcemonitoringconfig-audiomonitoringsettings)" : [ AudioMonitoringSetting, ... ],
  "[ContentQualityAnalysisState](#cfn-mediaconnect-flow-sourcemonitoringconfig-contentqualityanalysisstate)" : String,
  "[ThumbnailState](#cfn-mediaconnect-flow-sourcemonitoringconfig-thumbnailstate)" : String,
  "[VideoMonitoringSettings](#cfn-mediaconnect-flow-sourcemonitoringconfig-videomonitoringsettings)" : [ VideoMonitoringSetting, ... ]
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-sourcemonitoringconfig-syntax.yaml"></a>

```
  [AudioMonitoringSettings](#cfn-mediaconnect-flow-sourcemonitoringconfig-audiomonitoringsettings): 
    - AudioMonitoringSetting
  [ContentQualityAnalysisState](#cfn-mediaconnect-flow-sourcemonitoringconfig-contentqualityanalysisstate): String
  [ThumbnailState](#cfn-mediaconnect-flow-sourcemonitoringconfig-thumbnailstate): String
  [VideoMonitoringSettings](#cfn-mediaconnect-flow-sourcemonitoringconfig-videomonitoringsettings): 
    - VideoMonitoringSetting
```

## Properties
<a name="aws-properties-mediaconnect-flow-sourcemonitoringconfig-properties"></a>

`AudioMonitoringSettings`  <a name="cfn-mediaconnect-flow-sourcemonitoringconfig-audiomonitoringsettings"></a>
Contains the settings for audio stream metrics monitoring.  
*Required*: No  
*Type*: Array of [AudioMonitoringSetting](aws-properties-mediaconnect-flow-audiomonitoringsetting.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ContentQualityAnalysisState`  <a name="cfn-mediaconnect-flow-sourcemonitoringconfig-contentqualityanalysisstate"></a>
Indicates whether content quality analysis is enabled or disabled.  
*Required*: No  
*Type*: String  
*Allowed values*: `ENABLED | DISABLED`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ThumbnailState`  <a name="cfn-mediaconnect-flow-sourcemonitoringconfig-thumbnailstate"></a>
The current state of the thumbnail monitoring.   
+ If you don't explicitly specify a value when creating a flow, no thumbnail state will be set. 
+ If you update an existing flow and remove a previously set thumbnail state, the value will change to `DISABLED`.
*Required*: No  
*Type*: String  
*Allowed values*: `ENABLED | DISABLED`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`VideoMonitoringSettings`  <a name="cfn-mediaconnect-flow-sourcemonitoringconfig-videomonitoringsettings"></a>
Contains the settings for video stream metrics monitoring.  
*Required*: No  
*Type*: Array of [VideoMonitoringSetting](aws-properties-mediaconnect-flow-videomonitoringsetting.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow SourcePriority
<a name="aws-properties-mediaconnect-flow-sourcepriority"></a>

 The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams. 

## Syntax
<a name="aws-properties-mediaconnect-flow-sourcepriority-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-sourcepriority-syntax.json"></a>

```
{
  "[PrimarySource](#cfn-mediaconnect-flow-sourcepriority-primarysource)" : String
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-sourcepriority-syntax.yaml"></a>

```
  [PrimarySource](#cfn-mediaconnect-flow-sourcepriority-primarysource): String
```

## Properties
<a name="aws-properties-mediaconnect-flow-sourcepriority-properties"></a>

`PrimarySource`  <a name="cfn-mediaconnect-flow-sourcepriority-primarysource"></a>
 The name of the source you choose as the primary source for this flow.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow Tag
<a name="aws-properties-mediaconnect-flow-tag"></a>

<a name="aws-properties-mediaconnect-flow-tag-description"></a>The `Tag` property type specifies Property description not available. for an [AWS::MediaConnect::Flow](aws-resource-mediaconnect-flow.md).

## Syntax
<a name="aws-properties-mediaconnect-flow-tag-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-tag-syntax.json"></a>

```
{
  "[Key](#cfn-mediaconnect-flow-tag-key)" : String,
  "[Value](#cfn-mediaconnect-flow-tag-value)" : String
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-tag-syntax.yaml"></a>

```
  [Key](#cfn-mediaconnect-flow-tag-key): String
  [Value](#cfn-mediaconnect-flow-tag-value): String
```

## Properties
<a name="aws-properties-mediaconnect-flow-tag-properties"></a>

`Key`  <a name="cfn-mediaconnect-flow-tag-key"></a>
Property description not available.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Value`  <a name="cfn-mediaconnect-flow-tag-value"></a>
Property description not available.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow VideoMonitoringSetting
<a name="aws-properties-mediaconnect-flow-videomonitoringsetting"></a>

Specifies the configuration for video stream metrics monitoring.

## Syntax
<a name="aws-properties-mediaconnect-flow-videomonitoringsetting-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-videomonitoringsetting-syntax.json"></a>

```
{
  "[BlackFrames](#cfn-mediaconnect-flow-videomonitoringsetting-blackframes)" : BlackFrames,
  "[FrozenFrames](#cfn-mediaconnect-flow-videomonitoringsetting-frozenframes)" : FrozenFrames
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-videomonitoringsetting-syntax.yaml"></a>

```
  [BlackFrames](#cfn-mediaconnect-flow-videomonitoringsetting-blackframes): 
    BlackFrames
  [FrozenFrames](#cfn-mediaconnect-flow-videomonitoringsetting-frozenframes): 
    FrozenFrames
```

## Properties
<a name="aws-properties-mediaconnect-flow-videomonitoringsetting-properties"></a>

`BlackFrames`  <a name="cfn-mediaconnect-flow-videomonitoringsetting-blackframes"></a>
Detects video frames that are black.   
*Required*: No  
*Type*: [BlackFrames](aws-properties-mediaconnect-flow-blackframes.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`FrozenFrames`  <a name="cfn-mediaconnect-flow-videomonitoringsetting-frozenframes"></a>
Detects video frames that have not changed.   
*Required*: No  
*Type*: [FrozenFrames](aws-properties-mediaconnect-flow-frozenframes.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow VpcInterface
<a name="aws-properties-mediaconnect-flow-vpcinterface"></a>

The details of a VPC interface.

**Note**  
When configuring VPC interfaces for NDI outputs, keep in mind the following:  
VPC interfaces must be defined as nested attributes within the `AWS::MediaConnect::Flow` resource, and not within the top-level `AWS::MediaConnect::FlowVpcInterface` resource. 
There's a maximum limit of three VPC interfaces for each flow. If you've already reached this limit, you can't update the flow to use a different VPC interface without first removing an existing one.  
To update your VPC interfaces in this scenario, you must first remove the VPC interface that’s not being used. Next, add the new VPC interfaces. Lastly, update the `VpcInterfaceAdapter` in the `NDIConfig` property. These changes must be performed as separate manual operations and cannot be done through a single template update.

## Syntax
<a name="aws-properties-mediaconnect-flow-vpcinterface-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-vpcinterface-syntax.json"></a>

```
{
  "[Name](#cfn-mediaconnect-flow-vpcinterface-name)" : String,
  "[NetworkInterfaceIds](#cfn-mediaconnect-flow-vpcinterface-networkinterfaceids)" : [ String, ... ],
  "[NetworkInterfaceType](#cfn-mediaconnect-flow-vpcinterface-networkinterfacetype)" : String,
  "[RoleArn](#cfn-mediaconnect-flow-vpcinterface-rolearn)" : String,
  "[SecurityGroupIds](#cfn-mediaconnect-flow-vpcinterface-securitygroupids)" : [ String, ... ],
  "[SubnetId](#cfn-mediaconnect-flow-vpcinterface-subnetid)" : String,
  "[Tags](#cfn-mediaconnect-flow-vpcinterface-tags)" : [ Tag, ... ]
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-vpcinterface-syntax.yaml"></a>

```
  [Name](#cfn-mediaconnect-flow-vpcinterface-name): String
  [NetworkInterfaceIds](#cfn-mediaconnect-flow-vpcinterface-networkinterfaceids): 
    - String
  [NetworkInterfaceType](#cfn-mediaconnect-flow-vpcinterface-networkinterfacetype): String
  [RoleArn](#cfn-mediaconnect-flow-vpcinterface-rolearn): String
  [SecurityGroupIds](#cfn-mediaconnect-flow-vpcinterface-securitygroupids): 
    - String
  [SubnetId](#cfn-mediaconnect-flow-vpcinterface-subnetid): String
  [Tags](#cfn-mediaconnect-flow-vpcinterface-tags): 
    - Tag
```

## Properties
<a name="aws-properties-mediaconnect-flow-vpcinterface-properties"></a>

`Name`  <a name="cfn-mediaconnect-flow-vpcinterface-name"></a>
 Immutable and has to be a unique against other VpcInterfaces in this Flow.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`NetworkInterfaceIds`  <a name="cfn-mediaconnect-flow-vpcinterface-networkinterfaceids"></a>
 IDs of the network interfaces created in customer's account by MediaConnect.  
*Required*: No  
*Type*: Array of String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`NetworkInterfaceType`  <a name="cfn-mediaconnect-flow-vpcinterface-networkinterfacetype"></a>
 The type of network interface.  
*Required*: No  
*Type*: String  
*Allowed values*: `ena | efa`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RoleArn`  <a name="cfn-mediaconnect-flow-vpcinterface-rolearn"></a>
 A role Arn MediaConnect can assume to create ENIs in your account.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^arn:(aws[a-zA-Z-]*):iam::[0-9]{12}:role/[a-zA-Z0-9_+=,.@-]+$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SecurityGroupIds`  <a name="cfn-mediaconnect-flow-vpcinterface-securitygroupids"></a>
 Security Group IDs to be used on ENI.  
*Required*: Yes  
*Type*: Array of String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SubnetId`  <a name="cfn-mediaconnect-flow-vpcinterface-subnetid"></a>
 Subnet must be in the AZ of the Flow.   
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tags`  <a name="cfn-mediaconnect-flow-vpcinterface-tags"></a>
Property description not available.  
*Required*: No  
*Type*: Array of [Tag](aws-properties-mediaconnect-flow-tag.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::MediaConnect::Flow VpcInterfaceAttachment
<a name="aws-properties-mediaconnect-flow-vpcinterfaceattachment"></a>

 The settings for attaching a VPC interface to an resource. 

## Syntax
<a name="aws-properties-mediaconnect-flow-vpcinterfaceattachment-syntax"></a>

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

### JSON
<a name="aws-properties-mediaconnect-flow-vpcinterfaceattachment-syntax.json"></a>

```
{
  "[VpcInterfaceName](#cfn-mediaconnect-flow-vpcinterfaceattachment-vpcinterfacename)" : String
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-vpcinterfaceattachment-syntax.yaml"></a>

```
  [VpcInterfaceName](#cfn-mediaconnect-flow-vpcinterfaceattachment-vpcinterfacename): String
```

## Properties
<a name="aws-properties-mediaconnect-flow-vpcinterfaceattachment-properties"></a>

`VpcInterfaceName`  <a name="cfn-mediaconnect-flow-vpcinterfaceattachment-vpcinterfacename"></a>
 The name of the VPC interface to use for this resource.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)