Skip to content

PutLifecyclePolicyRequest

Source code in docs_src/capo_ecr/types/put_lifecycle_policy_request.py
class PutLifecyclePolicyRequest(TypedDict, closed=True):
    registry_id: NotRequired["capo_ecr.types.registry_id.RegistryId"]
    """<p>The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.</p>"""
    repository_name: "capo_ecr.types.repository_name.RepositoryName"
    """<p>The name of the repository to receive the policy.</p>"""
    lifecycle_policy_text: "capo_ecr.types.lifecycle_policy_text.LifecyclePolicyText"
    """<p>The JSON repository policy text to apply to the repository.</p>"""

lifecycle_policy_text instance-attribute

lifecycle_policy_text: LifecyclePolicyText

The JSON repository policy text to apply to the repository.

registry_id instance-attribute

registry_id: NotRequired[RegistryId]

The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

repository_name instance-attribute

repository_name: RepositoryName

The name of the repository to receive the policy.