public static interface CfnLifecyclePolicy.CrossRegionCopyDeprecateRuleProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.dlm.*; CrossRegionCopyDeprecateRuleProperty crossRegionCopyDeprecateRuleProperty = CrossRegionCopyDeprecateRuleProperty.builder() .interval(123) .intervalUnit("intervalUnit") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnLifecyclePolicy.CrossRegionCopyDeprecateRuleProperty.Builder
A builder for
CfnLifecyclePolicy.CrossRegionCopyDeprecateRuleProperty |
static class |
CfnLifecyclePolicy.CrossRegionCopyDeprecateRuleProperty.Jsii$Proxy
An implementation for
CfnLifecyclePolicy.CrossRegionCopyDeprecateRuleProperty |
Modifier and Type | Method and Description |
---|---|
static CfnLifecyclePolicy.CrossRegionCopyDeprecateRuleProperty.Builder |
builder() |
java.lang.Number |
getInterval()
The period after which to deprecate the cross-Region AMI copies.
|
java.lang.String |
getIntervalUnit()
The unit of time in which to measure the *Interval* .
|
java.lang.Number getInterval()
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.
java.lang.String getIntervalUnit()