Skip to content

GetLifecyclePoliciesRequest

Source code in docs_src/capo_dlm/types/get_lifecycle_policies_request.py
class GetLifecyclePoliciesRequest(TypedDict, closed=True):
    policy_ids: NotRequired["capo_dlm.types.policy_id_list.PolicyIdList"]
    """<p>The identifiers of the data lifecycle policies.</p>"""
    state: NotRequired[
        "capo_dlm.types.gettable_policy_state_values.GettablePolicyStateValues"
    ]
    """<p>The activation state.</p>"""
    resource_types: NotRequired[
        "capo_dlm.types.resource_type_values_list.ResourceTypeValuesList"
    ]
    """<p>The resource type.</p>"""
    target_tags: NotRequired[
        "capo_dlm.types.target_tags_filter_list.TargetTagsFilterList"
    ]
    """<p>The target tag for a policy.</p> <p>Tags are strings in the format <code>key=value</code>.</p>"""
    tags_to_add: NotRequired[
        "capo_dlm.types.tags_to_add_filter_list.TagsToAddFilterList"
    ]
    """<p>The tags to add to objects created by the policy.</p> <p>Tags are strings in the format <code>key=value</code>.</p> <p>These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.</p>"""
    default_policy_type: NotRequired[
        "capo_dlm.types.default_policies_type_values.DefaultPoliciesTypeValues"
    ]
    """<p> <b>[Default policies only]</b> Specifies the type of default policy to get. Specify one of the following:</p> <ul> <li> <p> <code>VOLUME</code> - To get only the default policy for EBS snapshots</p> </li> <li> <p> <code>INSTANCE</code> - To get only the default policy for EBS-backed AMIs</p> </li> <li> <p> <code>ALL</code> - To get all default policies</p> </li> </ul>"""

default_policy_type instance-attribute

default_policy_type: NotRequired[DefaultPoliciesTypeValues]

[Default policies only] Specifies the type of default policy to get. Specify one of the following:

  • VOLUME - To get only the default policy for EBS snapshots

  • INSTANCE - To get only the default policy for EBS-backed AMIs

  • ALL - To get all default policies

policy_ids instance-attribute

policy_ids: NotRequired[PolicyIdList]

The identifiers of the data lifecycle policies.

resource_types instance-attribute

resource_types: NotRequired[ResourceTypeValuesList]

The resource type.

state instance-attribute

state: NotRequired[GettablePolicyStateValues]

The activation state.

tags_to_add instance-attribute

tags_to_add: NotRequired[TagsToAddFilterList]

The tags to add to objects created by the policy.

Tags are strings in the format key=value.

These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.

target_tags instance-attribute

target_tags: NotRequired[TargetTagsFilterList]

The target tag for a policy.

Tags are strings in the format key=value.