Skip to content
v2.278.0

EncryptionConfigurationProperty Struct ​

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

Example ​

ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_dlm as dlm

encryption_configuration_property = dlm.CfnLifecyclePolicy.EncryptionConfigurationProperty(
    encrypted=False,

    # the properties below are optional
    cmk_arn="cmkArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.dlm.*;

EncryptionConfigurationProperty encryptionConfigurationProperty = EncryptionConfigurationProperty.builder()
        .encrypted(false)

        // the properties below are optional
        .cmkArn("cmkArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DLM;

var encryptionConfigurationProperty = new EncryptionConfigurationProperty {
    Encrypted = false,

    // the properties below are optional
    CmkArn = "cmkArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

encryptionConfigurationProperty := &EncryptionConfigurationProperty{
	Encrypted: jsii.Boolean(false),

	// the properties below are optional
	CmkArn: jsii.String("cmkArn"),
}

Properties ​

cmkArnoptionalstringcmk_arnoptionalstrcmkArnoptionalStringCmkArnoptionalstringCmkArnoptional*string #
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.

encryptedboolean | IResolvableencryptedtyping.Union[bool, IResolvable]encryptedBooleanEncryptedboolEncryptedinterface{} required #
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.