

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::Connect::InstanceStorageConfig EncryptionConfig
<a name="aws-properties-connect-instancestorageconfig-encryptionconfig"></a>

The encryption configuration.

## Syntax
<a name="aws-properties-connect-instancestorageconfig-encryptionconfig-syntax"></a>

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

### JSON
<a name="aws-properties-connect-instancestorageconfig-encryptionconfig-syntax.json"></a>

```
{
  "[EncryptionType](#cfn-connect-instancestorageconfig-encryptionconfig-encryptiontype)" : String,
  "[KeyId](#cfn-connect-instancestorageconfig-encryptionconfig-keyid)" : String
}
```

### YAML
<a name="aws-properties-connect-instancestorageconfig-encryptionconfig-syntax.yaml"></a>

```
  [EncryptionType](#cfn-connect-instancestorageconfig-encryptionconfig-encryptiontype): String
  [KeyId](#cfn-connect-instancestorageconfig-encryptionconfig-keyid): String
```

## Properties
<a name="aws-properties-connect-instancestorageconfig-encryptionconfig-properties"></a>

`EncryptionType`  <a name="cfn-connect-instancestorageconfig-encryptionconfig-encryptiontype"></a>
The type of encryption.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `KMS`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`KeyId`  <a name="cfn-connect-instancestorageconfig-encryptionconfig-keyid"></a>
The full ARN of the encryption key.   
Be sure to provide the full ARN of the encryption key, not just the ID.  
Amazon Connect supports only KMS keys with the default key spec of [https://docs.amazonaws.cn/kms/latest/developerguide/asymmetric-key-specs.html#key-spec-symmetric-default](https://docs.amazonaws.cn/kms/latest/developerguide/asymmetric-key-specs.html#key-spec-symmetric-default). 
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `128`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)