RepositoryCreationTemplateArgs

data class RepositoryCreationTemplateArgs(val appliedFor: Output<List<RepositoryCreationTemplateAppliedForItem>>? = null, val customRoleArn: Output<String>? = null, val description: Output<String>? = null, val encryptionConfiguration: Output<RepositoryCreationTemplateEncryptionConfigurationArgs>? = null, val imageTagMutability: Output<RepositoryCreationTemplateImageTagMutability>? = null, val lifecyclePolicy: Output<String>? = null, val prefix: Output<String>? = null, val repositoryPolicy: Output<String>? = null, val resourceTags: Output<List<RepositoryCreationTemplateTagArgs>>? = null) : ConvertibleToJava<RepositoryCreationTemplateArgs>

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

Constructors

Link copied to clipboard
constructor(appliedFor: Output<List<RepositoryCreationTemplateAppliedForItem>>? = null, customRoleArn: Output<String>? = null, description: Output<String>? = null, encryptionConfiguration: Output<RepositoryCreationTemplateEncryptionConfigurationArgs>? = null, imageTagMutability: Output<RepositoryCreationTemplateImageTagMutability>? = null, lifecyclePolicy: Output<String>? = null, prefix: Output<String>? = null, repositoryPolicy: Output<String>? = null, resourceTags: Output<List<RepositoryCreationTemplateTagArgs>>? = null)

Properties

Link copied to clipboard

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

Link copied to clipboard
val customRoleArn: Output<String>? = null

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.

Link copied to clipboard
val description: Output<String>? = null

The description associated with the repository creation template.

Link copied to clipboard

The encryption configuration associated with the repository creation template.

Link copied to clipboard

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.

Link copied to clipboard
val lifecyclePolicy: Output<String>? = null

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

Link copied to clipboard
val prefix: Output<String>? = null

The repository namespace prefix associated with the repository creation template.

Link copied to clipboard
val repositoryPolicy: Output<String>? = null

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.

Link copied to clipboard

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.

Functions

Link copied to clipboard
open override fun toJava(): RepositoryCreationTemplateArgs