

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::MSK::Cluster EncryptionInfo
<a name="aws-properties-msk-cluster-encryptioninfo"></a>

Includes encryption-related information, such as the Amazon KMS key used for encrypting data at rest and whether you want MSK to encrypt your data in transit.

## Syntax
<a name="aws-properties-msk-cluster-encryptioninfo-syntax"></a>

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

### JSON
<a name="aws-properties-msk-cluster-encryptioninfo-syntax.json"></a>

```
{
  "[EncryptionAtRest](#cfn-msk-cluster-encryptioninfo-encryptionatrest)" : EncryptionAtRest,
  "[EncryptionInTransit](#cfn-msk-cluster-encryptioninfo-encryptionintransit)" : EncryptionInTransit
}
```

### YAML
<a name="aws-properties-msk-cluster-encryptioninfo-syntax.yaml"></a>

```
  [EncryptionAtRest](#cfn-msk-cluster-encryptioninfo-encryptionatrest): 
    EncryptionAtRest
  [EncryptionInTransit](#cfn-msk-cluster-encryptioninfo-encryptionintransit): 
    EncryptionInTransit
```

## Properties
<a name="aws-properties-msk-cluster-encryptioninfo-properties"></a>

`EncryptionAtRest`  <a name="cfn-msk-cluster-encryptioninfo-encryptionatrest"></a>
The data-volume encryption details.  
*Required*: No  
*Type*: [EncryptionAtRest](aws-properties-msk-cluster-encryptionatrest.md)  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`EncryptionInTransit`  <a name="cfn-msk-cluster-encryptioninfo-encryptionintransit"></a>
The details for encryption in transit.  
*Required*: No  
*Type*: [EncryptionInTransit](aws-properties-msk-cluster-encryptionintransit.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)