RepositoryCreationTemplate - Amazon Elastic Container Registry

RepositoryCreationTemplate

The details of the repository creation template associated with the request.

Contents

appliedFor

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

Type: Array of strings

Valid Values: REPLICATION | PULL_THROUGH_CACHE

Required: No

createdAt

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

Type: Timestamp

Required: No

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.

Type: String

Length Constraints: Maximum length of 2048.

Required: No

description

The description associated with the repository creation template.

Type: String

Length Constraints: Maximum length of 256.

Required: No

encryptionConfiguration

The encryption configuration associated with the repository creation template.

Type: EncryptionConfigurationForRepositoryCreationTemplate object

Required: No

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.

Type: String

Valid Values: MUTABLE | IMMUTABLE

Required: No

lifecyclePolicy

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

Type: String

Length Constraints: Minimum length of 0. Maximum length of 30720.

Required: No

prefix

The repository namespace prefix associated with the repository creation template.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: ^((?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*/?|ROOT)$

Required: No

repositoryPolicy

he 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.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 10240.

Required: No

resourceTags

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.

Type: Array of Tag objects

Required: No

updatedAt

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

Type: Timestamp

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: