@Stability(value=Stable)
public static interface CfnLifecyclePolicy.CrossRegionCopyDeprecateRuleProperty
extends software.amazon.jsii.JsiiSerializable
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() |
Number |
getInterval()
The period after which to deprecate the cross-Region AMI copies.
|
String |
getIntervalUnit()
The unit of time in which to measure the *Interval* .
|
@Stability(value=Stable) @NotNull 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.
@Stability(value=Stable) @NotNull String getIntervalUnit()
@Stability(value=Stable) static CfnLifecyclePolicy.CrossRegionCopyDeprecateRuleProperty.Builder builder()
Copyright © 2022. All rights reserved.