aws-cdk-lib.aws_dlm.CfnLifecyclePolicy.EncryptionConfigurationProperty

interface EncryptionConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.DLM.CfnLifecyclePolicy.EncryptionConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdlm#CfnLifecyclePolicy_EncryptionConfigurationProperty
Javasoftware.amazon.awscdk.services.dlm.CfnLifecyclePolicy.EncryptionConfigurationProperty
Pythonaws_cdk.aws_dlm.CfnLifecyclePolicy.EncryptionConfigurationProperty
TypeScript aws-cdk-lib » aws_dlm » CfnLifecyclePolicy » EncryptionConfigurationProperty

[Event-based policies only] Specifies the encryption settings for cross-Region snapshot copies created by event-based policies.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dlm as dlm } from 'aws-cdk-lib';
const encryptionConfigurationProperty: dlm.CfnLifecyclePolicy.EncryptionConfigurationProperty = {
  encrypted: false,

  // the properties below are optional
  cmkArn: 'cmkArn',
};

Properties

NameTypeDescription
encryptedboolean | IResolvableTo encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter.
cmkArn?stringThe Amazon Resource Name (ARN) of the AWS KMS key to use for EBS encryption.

encrypted

Type: boolean | IResolvable

To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter.

Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.


cmkArn?

Type: string (optional)

The Amazon Resource Name (ARN) of the AWS KMS key to use for EBS encryption.

If this parameter is not specified, the default KMS key for the account is used.