Skip to content

Lifecycle

Source code in docs_src/capo_backup/types/lifecycle.py
class Lifecycle(TypedDict, closed=True):
    move_to_cold_storage_after_days: NotRequired["capo_backup.types.long.Long"]
    """<p>The number of days after creation that a recovery point is moved to cold storage.</p>"""
    delete_after_days: NotRequired["capo_backup.types.long.Long"]
    """<p>The number of days after creation that a recovery point is deleted. This value must be at least 90 days after the number of days specified in <code>MoveToColdStorageAfterDays</code>.</p>"""
    opt_in_to_archive_for_supported_resources: NotRequired[
        "capo_backup.types.boolean.Boolean"
    ]
    """<p>If the value is true, your backup plan transitions supported resources to archive (cold) storage tier in accordance with your lifecycle settings.</p>"""
    delete_after_event: NotRequired[
        "capo_backup.types.lifecycle_delete_after_event.LifecycleDeleteAfterEvent"
    ]
    """<p>The event after which a recovery point is deleted. A recovery point with both <code>DeleteAfterDays</code> and <code>DeleteAfterEvent</code> will delete after whichever condition is satisfied first. Not valid as an input.</p>"""

delete_after_days instance-attribute

delete_after_days: NotRequired[Long]

The number of days after creation that a recovery point is deleted. This value must be at least 90 days after the number of days specified in MoveToColdStorageAfterDays.

delete_after_event instance-attribute

delete_after_event: NotRequired[LifecycleDeleteAfterEvent]

The event after which a recovery point is deleted. A recovery point with both DeleteAfterDays and DeleteAfterEvent will delete after whichever condition is satisfied first. Not valid as an input.

move_to_cold_storage_after_days instance-attribute

move_to_cold_storage_after_days: NotRequired[Long]

The number of days after creation that a recovery point is moved to cold storage.

opt_in_to_archive_for_supported_resources instance-attribute

opt_in_to_archive_for_supported_resources: NotRequired[Boolean]

If the value is true, your backup plan transitions supported resources to archive (cold) storage tier in accordance with your lifecycle settings.