

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

# AWS::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 Amazon 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.amazonaws.cn/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.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)