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>

AWS::ECR::RepositoryCreationTemplate is used to create repository with configuration from a pre-defined template.

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 the template will apply towards.

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

The ARN of the role to be assumed by ECR. This role must be in the same account as the registry that you are configuring.

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

The description of the template.

Link copied to clipboard

The encryption configuration associated with the repository creation template.

Link copied to clipboard

The image tag mutability setting for the repository.

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

The JSON lifecycle policy text to apply to the repository. For information about lifecycle policy syntax, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html

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

The prefix use to match the repository name and apply the template.

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

The JSON repository policy text to apply to the repository. For more information, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/RepositoryPolicyExamples.html

Link copied to clipboard

An array of key-value pairs to apply to this resource.

Functions

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