Skip to content

RepositoryCreationTemplate

Source code in docs_src/capo_ecr/types/repository_creation_template.py
class RepositoryCreationTemplate(TypedDict, closed=True):
    prefix: NotRequired["capo_ecr.types.prefix.Prefix"]
    """<p>The repository namespace prefix associated with the repository creation template.</p>"""
    description: NotRequired[
        "capo_ecr.types.repository_template_description.RepositoryTemplateDescription"
    ]
    """<p>The description associated with the repository creation template.</p>"""
    encryption_configuration: NotRequired[
        "capo_ecr.types.encryption_configuration_for_repository_creation_template.EncryptionConfigurationForRepositoryCreationTemplate"
    ]
    """<p>The encryption configuration associated with the repository creation template.</p>"""
    resource_tags: NotRequired["capo_ecr.types.tag_list.TagList"]
    """<p>The metadata to apply to the repository to help you categorize and organize. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.</p>"""
    image_tag_mutability: NotRequired[
        "capo_ecr.types.image_tag_mutability.ImageTagMutability"
    ]
    """<p>The tag mutability setting for the repository. If this parameter is omitted, the default setting of <code>MUTABLE</code> will be used which will allow image tags to be overwritten. If <code>IMMUTABLE</code> is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.</p>"""
    image_tag_mutability_exclusion_filters: NotRequired[
        "capo_ecr.types.image_tag_mutability_exclusion_filters.ImageTagMutabilityExclusionFilters"
    ]
    """<p>A list of filters that specify which image tags are excluded from the repository creation template's image tag mutability setting.</p>"""
    repository_policy: NotRequired[
        "capo_ecr.types.repository_policy_text.RepositoryPolicyText"
    ]
    """<p>The repository policy to apply to repositories created using the template. A repository policy is a permissions policy associated with a repository to control access permissions. </p>"""
    lifecycle_policy: NotRequired[
        "capo_ecr.types.lifecycle_policy_text_for_repository_creation_template.LifecyclePolicyTextForRepositoryCreationTemplate"
    ]
    """<p>The lifecycle policy to use for repositories created using the template.</p>"""
    applied_for: NotRequired["capo_ecr.types.rct_applied_for_list.RCTAppliedForList"]
    """<p>A list of enumerable Strings representing the repository creation scenarios that this template will apply towards. The supported scenarios are PULL_THROUGH_CACHE, REPLICATION, and CREATE_ON_PUSH</p>"""
    custom_role_arn: NotRequired["capo_ecr.types.custom_role_arn.CustomRoleArn"]
    """<p>The ARN of the role to be assumed by Amazon ECR. Amazon ECR will assume your supplied role when the customRoleArn is specified. When this field isn't specified, Amazon ECR will use the service-linked role for the repository creation template.</p>"""
    created_at: NotRequired["capo_ecr.types.date.Date"]
    """<p>The date and time, in JavaScript date format, when the repository creation template was created.</p>"""
    updated_at: NotRequired["capo_ecr.types.date.Date"]
    """<p>The date and time, in JavaScript date format, when the repository creation template was last updated.</p>"""

applied_for instance-attribute

applied_for: NotRequired[RCTAppliedForList]

A list of enumerable Strings representing the repository creation scenarios that this template will apply towards. The supported scenarios are PULL_THROUGH_CACHE, REPLICATION, and CREATE_ON_PUSH

created_at instance-attribute

created_at: NotRequired[Date]

The date and time, in JavaScript date format, when the repository creation template was created.

custom_role_arn instance-attribute

custom_role_arn: NotRequired[CustomRoleArn]

The ARN of the role to be assumed by Amazon ECR. Amazon ECR will assume your supplied role when the customRoleArn is specified. When this field isn't specified, Amazon ECR will use the service-linked role for the repository creation template.

description instance-attribute

description: NotRequired[RepositoryTemplateDescription]

The description associated with the repository creation template.

encryption_configuration instance-attribute

encryption_configuration: NotRequired[
    EncryptionConfigurationForRepositoryCreationTemplate
]

The encryption configuration associated with the repository creation template.

image_tag_mutability instance-attribute

image_tag_mutability: NotRequired[ImageTagMutability]

The tag mutability setting for the repository. If this parameter is omitted, the default setting of MUTABLE will be used which will allow image tags to be overwritten. If IMMUTABLE is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.

image_tag_mutability_exclusion_filters instance-attribute

image_tag_mutability_exclusion_filters: NotRequired[ImageTagMutabilityExclusionFilters]

A list of filters that specify which image tags are excluded from the repository creation template's image tag mutability setting.

lifecycle_policy instance-attribute

lifecycle_policy: NotRequired[LifecyclePolicyTextForRepositoryCreationTemplate]

The lifecycle policy to use for repositories created using the template.

prefix instance-attribute

prefix: NotRequired[Prefix]

The repository namespace prefix associated with the repository creation template.

repository_policy instance-attribute

repository_policy: NotRequired[RepositoryPolicyText]

The repository policy to apply to repositories created using the template. A repository policy is a permissions policy associated with a repository to control access permissions.

resource_tags instance-attribute

resource_tags: NotRequired[TagList]

The metadata to apply to the repository to help you categorize and organize. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

updated_at instance-attribute

updated_at: NotRequired[Date]

The date and time, in JavaScript date format, when the repository creation template was last updated.