

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::RouterOutput SecretsManagerEndpointEncryptionConfiguration

The endpoint encryption configuration for connections that use a key or passphrase that you store in Amazon Secrets Manager.

## Syntax
<a name="aws-properties-mediaconnect-routeroutput-secretsmanagerendpointencryptionconfiguration-syntax"></a>

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

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

```json
{
  "[EncryptionSecret](#cfn-mediaconnect-routeroutput-secretsmanagerendpointencryptionconfiguration-encryptionsecret)" : {{EndpointEncryptionSecretConfiguration}},
  "[EncryptionSecretType](#cfn-mediaconnect-routeroutput-secretsmanagerendpointencryptionconfiguration-encryptionsecrettype)" : {{String}}
}
```

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

```yaml
  [EncryptionSecret](#cfn-mediaconnect-routeroutput-secretsmanagerendpointencryptionconfiguration-encryptionsecret): {{
    EndpointEncryptionSecretConfiguration}}
  [EncryptionSecretType](#cfn-mediaconnect-routeroutput-secretsmanagerendpointencryptionconfiguration-encryptionsecrettype): {{String}}
```

## Properties
<a name="aws-properties-mediaconnect-routeroutput-secretsmanagerendpointencryptionconfiguration-properties"></a>

`EncryptionSecret`  <a name="cfn-mediaconnect-routeroutput-secretsmanagerendpointencryptionconfiguration-encryptionsecret"></a>
The Amazon Secrets Manager secret that holds the key or passphrase used to encrypt the connection.  
*Required*: Yes  
*Type*: [EndpointEncryptionSecretConfiguration](aws-properties-mediaconnect-routeroutput-endpointencryptionsecretconfiguration.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`EncryptionSecretType`  <a name="cfn-mediaconnect-routeroutput-secretsmanagerendpointencryptionconfiguration-encryptionsecrettype"></a>
The type of secret used to encrypt the connection. Valid values include the following:  
+ `AES_128_KEY` – A 128-bit AES encryption key.
+ `AES_192_KEY` – A 192-bit AES encryption key.
+ `AES_256_KEY` – A 256-bit AES encryption key.
+ `SRT_PASSPHRASE` – An SRT passphrase.
*Required*: No  
*Type*: String  
*Allowed values*: `AES_128_KEY | AES_192_KEY | AES_256_KEY | SRT_PASSPHRASE`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)