AWS::ECR::RepositoryCreationTemplate - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::ECR::RepositoryCreationTemplate

The AWS::ECR::RepositoryCreationTemplate resource Property description not available. for ECR.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::ECR::RepositoryCreationTemplate", "Properties" : { "AppliedFor" : [ String, ... ], "Description" : String, "EncryptionConfiguration" : EncryptionConfiguration, "ImageTagMutability" : String, "LifecyclePolicy" : String, "Prefix" : String, "RepositoryPolicy" : String, "ResourceTags" : [ Tag, ... ] } }

YAML

Type: AWS::ECR::RepositoryCreationTemplate Properties: AppliedFor: - String Description: String EncryptionConfiguration: EncryptionConfiguration ImageTagMutability: String LifecyclePolicy: String Prefix: String RepositoryPolicy: String ResourceTags: - Tag

Properties

AppliedFor

Property description not available.

Required: Yes

Type: Array of String

Update requires: No interruption

Description

Property description not available.

Required: No

Type: String

Minimum: 0

Maximum: 256

Update requires: No interruption

EncryptionConfiguration

The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.

By default, when no encryption configuration is set or the AES256 encryption type is used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts your data at rest using an AES-256 encryption algorithm. This does not require any action on your part.

For more control over the encryption of the contents of your repository, you can use server-side encryption with Amazon Key Management Service key stored in Amazon Key Management Service (Amazon KMS) to encrypt your images. For more information, see Amazon ECR encryption at rest in the Amazon Elastic Container Registry User Guide.

Required: No

Type: EncryptionConfiguration

Update requires: No interruption

ImageTagMutability

Property description not available.

Required: No

Type: String

Allowed values: MUTABLE | IMMUTABLE

Update requires: No interruption

LifecyclePolicy

Property description not available.

Required: No

Type: String

Minimum: 100

Maximum: 30720

Update requires: No interruption

Prefix

Property description not available.

Required: Yes

Type: String

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

Minimum: 1

Maximum: 256

Update requires: Replacement

RepositoryPolicy

Property description not available.

Required: No

Type: String

Update requires: No interruption

ResourceTags

The tags attached to the resource.

Required: No

Type: Array of Tag

Maximum: 50

Update requires: No interruption

Return values

Ref

Fn::GetAtt

CreatedAt

Property description not available.

UpdatedAt

Property description not available.