Interface CfnLifecyclePolicy.RetentionArchiveTierProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnLifecyclePolicy.RetentionArchiveTierProperty.Jsii$Proxy
Enclosing class:
CfnLifecyclePolicy

@Stability(Stable) public static interface CfnLifecyclePolicy.RetentionArchiveTierProperty extends software.amazon.jsii.JsiiSerializable
[Custom snapshot policies only] Describes the retention rule for archived snapshots.

Once the archive retention threshold is met, the snapshots are permanently deleted from the archive tier.

The archive retention rule must retain snapshots in the archive tier for a minimum of 90 days.

For count-based schedules , you must specify Count . For age-based schedules , you must specify Interval and IntervalUnit .

For more information about using snapshot archiving, see Considerations for snapshot lifecycle policies .

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.*;
 RetentionArchiveTierProperty retentionArchiveTierProperty = RetentionArchiveTierProperty.builder()
         .count(123)
         .interval(123)
         .intervalUnit("intervalUnit")
         .build();
 

See Also: