AWS::ECR::RepositoryCreationTemplateThe details of the repository creation template associated with the request.
10 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AppliedFor | Array<string> | Required |
Prefix | string | RequiredCreate-only |
CustomRoleArn | string | |
Description | string | |
EncryptionConfiguration | EncryptionConfiguration | |
ImageTagMutability | string | |
ImageTagMutabilityExclusionFilters | Array<ImageTagMutabilityExclusionFilter> | |
LifecyclePolicy | string | |
RepositoryPolicy | string | |
ResourceTags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CreatedAt | string | - |
UpdatedAt | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ECR::RepositoryCreationTemplate
Resources:
MyResource:
Type: AWS::ECR::RepositoryCreationTemplate
Properties:
Prefix: "value"
AppliedFor: []
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
ecr:CreateRepositoryCreationTemplateecr:PutLifecyclePolicyecr:SetRepositoryPolicyecr:CreateRepositoryiam:CreateServiceLinkedRoleiam:PassRoleecr:DescribeRepositoryCreationTemplatesecr:DescribeRepositoryCreationTemplatesecr:UpdateRepositoryCreationTemplateecr:PutLifecyclePolicyecr:SetRepositoryPolicyecr:CreateRepositoryiam:CreateServiceLinkedRoleiam:PassRoleecr:DeleteRepositoryCreationTemplateecr:DescribeRepositoryCreationTemplatesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterPrefixThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
Prefix