Skip to content

RetentionPeriod

Source code in docs_src/capo_rbin/types/retention_period.py
class RetentionPeriod(TypedDict, closed=True):
    retention_period_value: (
        "capo_rbin.types.retention_period_value.RetentionPeriodValue"
    )
    """<p>The period value for which the retention rule is to retain resources, measured in days. The supported retention periods are:</p> <ul> <li> <p>EBS volumes: 1 - 7 days</p> </li> <li> <p>EBS snapshots and EBS-backed AMIs: 1 - 365 days</p> </li> </ul>"""
    retention_period_unit: "capo_rbin.types.retention_period_unit.RetentionPeriodUnit"
    """<p>The unit of time in which the retention period is measured. Currently, only <code>DAYS</code> is supported.</p>"""

retention_period_unit instance-attribute

retention_period_unit: RetentionPeriodUnit

The unit of time in which the retention period is measured. Currently, only DAYS is supported.

retention_period_value instance-attribute

retention_period_value: RetentionPeriodValue

The period value for which the retention rule is to retain resources, measured in days. The supported retention periods are:

  • EBS volumes: 1 - 7 days

  • EBS snapshots and EBS-backed AMIs: 1 - 365 days