Interface CfnLifecyclePolicy.ICrossRegionCopyActionProperty
[Event-based policies only] Specifies a cross-Region copy action for event-based policies.
Namespace: Amazon.CDK.AWS.DLM
Assembly: Amazon.CDK.AWS.DLM.dll
Syntax (csharp)
public interface ICrossRegionCopyActionProperty
Syntax (vb)
Public Interface ICrossRegionCopyActionProperty
Remarks
To specify a cross-Region copy rule for snapshot and AMI policies, use CrossRegionCopyRule
.
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 crossRegionCopyActionProperty = new CrossRegionCopyActionProperty {
EncryptionConfiguration = new EncryptionConfigurationProperty {
Encrypted = false,
// the properties below are optional
CmkArn = "cmkArn"
},
Target = "target",
// the properties below are optional
RetainRule = new CrossRegionCopyRetainRuleProperty {
Interval = 123,
IntervalUnit = "intervalUnit"
}
};
Synopsis
Properties
EncryptionConfiguration | The encryption settings for the copied snapshot. |
RetainRule | Specifies a retention rule for cross-Region snapshot copies created by snapshot or event-based policies, or cross-Region AMI copies created by AMI policies. |
Target | The target Region. |
Properties
EncryptionConfiguration
The encryption settings for the copied snapshot.
object EncryptionConfiguration { get; }
Property Value
System.Object
Remarks
RetainRule
Specifies a retention rule for cross-Region snapshot copies created by snapshot or event-based policies, or cross-Region AMI copies created by AMI policies.
virtual object RetainRule { get; }
Property Value
System.Object
Remarks
After the retention period expires, the cross-Region copy is deleted.
Target
The target Region.
string Target { get; }
Property Value
System.String