@Stability(value=Stable)
public static interface CfnLifecyclePolicy.EncryptionConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLifecyclePolicy.EncryptionConfigurationProperty.Builder
A builder for
CfnLifecyclePolicy.EncryptionConfigurationProperty |
static class |
CfnLifecyclePolicy.EncryptionConfigurationProperty.Jsii$Proxy
An implementation for
CfnLifecyclePolicy.EncryptionConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLifecyclePolicy.EncryptionConfigurationProperty.Builder |
builder() |
default String |
getCmkArn()
The Amazon Resource Name (ARN) of the AWS KMS key to use for EBS encryption.
|
Object |
getEncrypted()
To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter.
|
@Stability(value=Stable) @NotNull Object getEncrypted()
Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.
@Stability(value=Stable) @Nullable default String getCmkArn()
If this parameter is not specified, the default KMS key for the account is used.
@Stability(value=Stable) static CfnLifecyclePolicy.EncryptionConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.