Class CfnLifecyclePolicy.EncryptionConfigurationProperty
[Event-based policies only] Specifies the encryption settings for cross-Region snapshot copies created by event-based policies.
Inheritance
Namespace: Amazon.CDK.AWS.DLM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EncryptionConfigurationProperty : Object, CfnLifecyclePolicy.IEncryptionConfigurationProperty
Syntax (vb)
Public Class EncryptionConfigurationProperty
Inherits Object
Implements CfnLifecyclePolicy.IEncryptionConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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"
};
Synopsis
Constructors
EncryptionConfigurationProperty() |
Properties
CmkArn | The Amazon Resource Name (ARN) of the AWS KMS key to use for EBS encryption. |
Encrypted | To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. |
Constructors
EncryptionConfigurationProperty()
public EncryptionConfigurationProperty()
Properties
CmkArn
The Amazon Resource Name (ARN) of the AWS KMS key to use for EBS encryption.
public string CmkArn { get; set; }
Property Value
System.String
Remarks
If this parameter is not specified, the default KMS key for the account is used.
Encrypted
To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter.
public object Encrypted { get; set; }
Property Value
System.Object
Remarks
Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.