Skip to content

CrossRegionCopyDeprecateRule

Source code in docs_src/capo_dlm/types/cross_region_copy_deprecate_rule.py
class CrossRegionCopyDeprecateRule(TypedDict, closed=True):
    interval: NotRequired["capo_dlm.types.interval.Interval"]
    """<p>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.</p>"""
    interval_unit: NotRequired[
        "capo_dlm.types.retention_interval_unit_values.RetentionIntervalUnitValues"
    ]
    """<p>The unit of time in which to measure the <b>Interval</b>. For example, to deprecate a cross-Region AMI copy after 3 months, specify <code>Interval=3</code> and <code>IntervalUnit=MONTHS</code>.</p>"""

interval instance-attribute

interval: NotRequired[Interval]

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.

interval_unit instance-attribute

interval_unit: NotRequired[RetentionIntervalUnitValues]

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.