RepositoryCreationTemplate
¶
Source code in docs_src/capo_ecr/types/repository_creation_template.py
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.