@Stability(value=Stable) public static final class CfnLifecyclePolicy.EncryptionConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnLifecyclePolicy.EncryptionConfigurationProperty>
CfnLifecyclePolicy.EncryptionConfigurationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnLifecyclePolicy.EncryptionConfigurationProperty |
build()
Builds the configured instance.
|
CfnLifecyclePolicy.EncryptionConfigurationProperty.Builder |
cmkArn(String cmkArn)
Sets the value of
CfnLifecyclePolicy.EncryptionConfigurationProperty.getCmkArn() |
CfnLifecyclePolicy.EncryptionConfigurationProperty.Builder |
encrypted(Boolean encrypted)
Sets the value of
CfnLifecyclePolicy.EncryptionConfigurationProperty.getEncrypted() |
CfnLifecyclePolicy.EncryptionConfigurationProperty.Builder |
encrypted(IResolvable encrypted)
Sets the value of
CfnLifecyclePolicy.EncryptionConfigurationProperty.getEncrypted() |
@Stability(value=Stable) public CfnLifecyclePolicy.EncryptionConfigurationProperty.Builder encrypted(Boolean encrypted)
CfnLifecyclePolicy.EncryptionConfigurationProperty.getEncrypted()encrypted - To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. This parameter is required.
Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.this@Stability(value=Stable) public CfnLifecyclePolicy.EncryptionConfigurationProperty.Builder encrypted(IResolvable encrypted)
CfnLifecyclePolicy.EncryptionConfigurationProperty.getEncrypted()encrypted - To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. This parameter is required.
Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.this@Stability(value=Stable) public CfnLifecyclePolicy.EncryptionConfigurationProperty.Builder cmkArn(String cmkArn)
CfnLifecyclePolicy.EncryptionConfigurationProperty.getCmkArn()cmkArn - 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.this@Stability(value=Stable) public CfnLifecyclePolicy.EncryptionConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnLifecyclePolicy.EncryptionConfigurationProperty>CfnLifecyclePolicy.EncryptionConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.