Class CfnLifecyclePolicyPropsMixin.CrossRegionCopyActionProperty
[Event-based policies only] Specifies a cross-Region copy action for event-based policies.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.DLM
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnLifecyclePolicyPropsMixin.CrossRegionCopyActionProperty : CfnLifecyclePolicyPropsMixin.ICrossRegionCopyActionProperty
Syntax (vb)
Public Class CfnLifecyclePolicyPropsMixin.CrossRegionCopyActionProperty Implements CfnLifecyclePolicyPropsMixin.ICrossRegionCopyActionProperty
Remarks
To specify a cross-Region copy rule for snapshot and AMI policies, use <a href="https://docs.aws.amazon.com/dlm/latest/APIReference/API_CrossRegionCopyRule.html">CrossRegionCopyRule</a> .
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.CfnPropertyMixins.AWS.DLM;
var crossRegionCopyActionProperty = new CrossRegionCopyActionProperty {
EncryptionConfiguration = new EncryptionConfigurationProperty {
CmkArn = "cmkArn",
Encrypted = false
},
RetainRule = new CrossRegionCopyRetainRuleProperty {
Interval = 123,
IntervalUnit = "intervalUnit"
},
Target = "target"
};
Synopsis
Constructors
| CrossRegionCopyActionProperty() | [Event-based policies only] Specifies a cross-Region copy action for event-based policies. |
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()
[Event-based policies only] Specifies a cross-Region copy action for event-based policies.
public CrossRegionCopyActionProperty()
Remarks
To specify a cross-Region copy rule for snapshot and AMI policies, use <a href="https://docs.aws.amazon.com/dlm/latest/APIReference/API_CrossRegionCopyRule.html">CrossRegionCopyRule</a> .
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.CfnPropertyMixins.AWS.DLM;
var crossRegionCopyActionProperty = new CrossRegionCopyActionProperty {
EncryptionConfiguration = new EncryptionConfigurationProperty {
CmkArn = "cmkArn",
Encrypted = false
},
RetainRule = new CrossRegionCopyRetainRuleProperty {
Interval = 123,
IntervalUnit = "intervalUnit"
},
Target = "target"
};
Properties
EncryptionConfiguration
The encryption settings for the copied snapshot.
public object? EncryptionConfiguration { get; set; }
Property Value
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
Remarks
After the retention period expires, the cross-Region copy is deleted.
Type union: either IResolvable or CfnLifecyclePolicyPropsMixin.ICrossRegionCopyRetainRuleProperty
Target
The target Region.
public string? Target { get; set; }