Skip to content

LifecyclePolicyRuleAction

Source code in docs_src/capo_ecr/types/lifecycle_policy_rule_action.py
class LifecyclePolicyRuleAction(TypedDict, closed=True):
    type: NotRequired["capo_ecr.types.image_action_type.ImageActionType"]
    """<p>The type of action to be taken.</p>"""
    target_storage_class: NotRequired[
        "capo_ecr.types.lifecycle_policy_target_storage_class.LifecyclePolicyTargetStorageClass"
    ]
    """<p>The target storage class for the action. This is only present when the <code>type</code> is <code>TRANSITION.</code> </p>"""

target_storage_class instance-attribute

target_storage_class: NotRequired[LifecyclePolicyTargetStorageClass]

The target storage class for the action. This is only present when the type is TRANSITION.

type instance-attribute

type: NotRequired[ImageActionType]

The type of action to be taken.