AWS::ECR::PublicRepository Tag - 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::PublicRepository Tag

The metadata to apply to a resource to help you categorize and organize them. Each tag consists of a key and a 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.

Syntax

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

JSON

{ "Key" : String, "Value" : String }

YAML

Key: String Value: String

Properties

Key

One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.

Required: Yes

Type: String

Minimum: 1

Maximum: 127

Update requires: No interruption

Value

A value acts as a descriptor within a tag category (key).

Required: Yes

Type: String

Minimum: 1

Maximum: 255

Update requires: No interruption