Interface CfnLifecyclePolicyPropsMixin.EncryptionConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLifecyclePolicyPropsMixin.EncryptionConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnLifecyclePolicyPropsMixin
@Stability(Stable)
public static interface CfnLifecyclePolicyPropsMixin.EncryptionConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
[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 software.amazon.awscdk.cfnpropertymixins.services.dlm.*;
EncryptionConfigurationProperty encryptionConfigurationProperty = EncryptionConfigurationProperty.builder()
.cmkArn("cmkArn")
.encrypted(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnLifecyclePolicyPropsMixin.EncryptionConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCmkArn
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.
- See Also:
-
getEncrypted
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.
Returns union: either
BooleanorIResolvable- See Also:
-
builder
@Stability(Stable) static CfnLifecyclePolicyPropsMixin.EncryptionConfigurationProperty.Builder builder()
-