Class CfnLifecyclePolicy.CrossRegionCopyActionProperty
[Event-based policies only] Specifies a cross-Region copy action for event-based policies.
Inheritance
Namespace: Amazon.CDK.AWS.DLM
Assembly: Amazon.CDK.AWS.DLM.dll
Syntax (csharp)
public class CrossRegionCopyActionProperty : Object, CfnLifecyclePolicy.ICrossRegionCopyActionProperty
Syntax (vb)
Public Class CrossRegionCopyActionProperty
Inherits Object
Implements CfnLifecyclePolicy.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
Constructors
CrossRegionCopyActionProperty() |
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. |
Constructors
CrossRegionCopyActionProperty()
public CrossRegionCopyActionProperty()
Properties
EncryptionConfiguration
The encryption settings for the copied snapshot.
public object EncryptionConfiguration { get; set; }
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.
public object RetainRule { get; set; }
Property Value
System.Object
Remarks
After the retention period expires, the cross-Region copy is deleted.
Target
The target Region.
public string Target { get; set; }
Property Value
System.String