interface CrossRegionCopyRetainRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.DLM.Mixins.CfnLifecyclePolicyPropsMixin.CrossRegionCopyRetainRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdlm/mixins#CfnLifecyclePolicyPropsMixin_CrossRegionCopyRetainRuleProperty |
Java | software.amazon.awscdk.mixins.preview.services.dlm.mixins.CfnLifecyclePolicyPropsMixin.CrossRegionCopyRetainRuleProperty |
Python | aws_cdk.mixins_preview.aws_dlm.mixins.CfnLifecyclePolicyPropsMixin.CrossRegionCopyRetainRuleProperty |
TypeScript | @aws-cdk/mixins-preview » aws_dlm » mixins » CfnLifecyclePolicyPropsMixin » CrossRegionCopyRetainRuleProperty |
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.
After the retention period expires, the cross-Region copy is deleted.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as dlm_mixins } from '@aws-cdk/mixins-preview/aws-dlm';
const crossRegionCopyRetainRuleProperty: dlm_mixins.CfnLifecyclePolicyPropsMixin.CrossRegionCopyRetainRuleProperty = {
interval: 123,
intervalUnit: 'intervalUnit',
};
Properties
| Name | Type | Description |
|---|---|---|
| interval? | number | The amount of time to retain a cross-Region snapshot or AMI copy. |
| interval | string | The unit of time for time-based retention. |
interval?
Type:
number
(optional)
The amount of time to retain a cross-Region snapshot or AMI copy.
The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
intervalUnit?
Type:
string
(optional)
The unit of time for time-based retention.
For example, to retain a cross-Region copy for 3 months, specify Interval=3 and IntervalUnit=MONTHS .

.NET
Go
Java
Python
TypeScript