Skip to content

CrossRegionCopyRetainRule

Source code in docs_src/capo_dlm/types/cross_region_copy_retain_rule.py
class CrossRegionCopyRetainRule(TypedDict, closed=True):
    interval: NotRequired["capo_dlm.types.interval.Interval"]
    """<p>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.</p>"""
    interval_unit: NotRequired[
        "capo_dlm.types.retention_interval_unit_values.RetentionIntervalUnitValues"
    ]
    """<p>The unit of time for time-based retention. For example, to retain a cross-Region copy for 3 months, specify <code>Interval=3</code> and <code>IntervalUnit=MONTHS</code>.</p>"""

interval instance-attribute

interval: NotRequired[Interval]

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.

interval_unit instance-attribute

interval_unit: NotRequired[RetentionIntervalUnitValues]

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.