AWS::ECR::RepositoryCreationTemplateThe details of the repository creation template associated with the request.
import { CfnRepositoryCreationTemplate } from 'aws-cdk-lib/aws-ecr';Or use the module namespace:
import * as ecr from 'aws-cdk-lib/aws-ecr';
// ecr.CfnRepositoryCreationTemplateConfiguration passed to the constructor as CfnRepositoryCreationTemplateProps.
appliedForRequiredstring[]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
prefixRequiredstringThe repository namespace prefix associated with the repository creation template.
customRoleArnOptionalstringThe 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.
descriptionOptionalstringThe description associated with the repository creation template.
encryptionConfigurationOptionalIResolvable | EncryptionConfigurationPropertyThe encryption configuration associated with the repository creation template.
imageTagMutabilityOptionalstringThe 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.
imageTagMutabilityExclusionFiltersOptionalIResolvable | IResolvable | ImageTagMutabilityExclusionFilterProperty[]A list of filters that specify which image tags are excluded from the repository creation template's image tag mutability setting.
lifecyclePolicyOptionalstringThe lifecycle policy to use for repositories created using the template.
repositoryPolicyOptionalstringThe 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.
resourceTagsOptionalIResolvable | IResolvable | CfnTag[]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.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-ecrAWS::ECR::RepositoryCreationTemplate