Skip to content

LifecyclePolicy

Source code in docs_src/capo_efs/types/lifecycle_policy.py
class LifecyclePolicy(TypedDict, closed=True):
    transition_to_ia: NotRequired[
        "capo_efs.types.transition_to_ia_rules.TransitionToIARules"
    ]
    """<p>The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events.</p>"""
    transition_to_primary_storage_class: NotRequired[
        "capo_efs.types.transition_to_primary_storage_class_rules.TransitionToPrimaryStorageClassRules"
    ]
    """<p>Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.</p>"""
    transition_to_archive: NotRequired[
        "capo_efs.types.transition_to_archive_rules.TransitionToArchiveRules"
    ]
    """<p>The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.</p>"""

transition_to_archive instance-attribute

transition_to_archive: NotRequired[TransitionToArchiveRules]

The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.

transition_to_ia instance-attribute

transition_to_ia: NotRequired[TransitionToIARules]

The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events.

transition_to_primary_storage_class instance-attribute

transition_to_primary_storage_class: NotRequired[TransitionToPrimaryStorageClassRules]

Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.