interface CrossRegionCopyDeprecateRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.DLM.Mixins.CfnLifecyclePolicyPropsMixin.CrossRegionCopyDeprecateRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdlm/mixins#CfnLifecyclePolicyPropsMixin_CrossRegionCopyDeprecateRuleProperty |
Java | software.amazon.awscdk.mixins.preview.services.dlm.mixins.CfnLifecyclePolicyPropsMixin.CrossRegionCopyDeprecateRuleProperty |
Python | aws_cdk.mixins_preview.aws_dlm.mixins.CfnLifecyclePolicyPropsMixin.CrossRegionCopyDeprecateRuleProperty |
TypeScript | @aws-cdk/mixins-preview » aws_dlm » mixins » CfnLifecyclePolicyPropsMixin » CrossRegionCopyDeprecateRuleProperty |
[Custom AMI policies only] Specifies an AMI deprecation rule for cross-Region AMI copies created by an AMI policy.
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 crossRegionCopyDeprecateRuleProperty: dlm_mixins.CfnLifecyclePolicyPropsMixin.CrossRegionCopyDeprecateRuleProperty = {
interval: 123,
intervalUnit: 'intervalUnit',
};
Properties
| Name | Type | Description |
|---|---|---|
| interval? | number | The period after which to deprecate the cross-Region AMI copies. |
| interval | string | The unit of time in which to measure the Interval . |
interval?
Type:
number
(optional)
The period after which to deprecate the cross-Region AMI copies.
The period must be less than or equal to the cross-Region AMI copy retention period, and it can't be greater than 10 years. This is equivalent to 120 months, 520 weeks, or 3650 days.
intervalUnit?
Type:
string
(optional)
The unit of time in which to measure the Interval .
For example, to deprecate a cross-Region AMI copy after 3 months, specify Interval=3 and IntervalUnit=MONTHS .

.NET
Go
Java
Python
TypeScript