AWS::ECR::SigningConfiguration RepositoryFilter - 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).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::ECR::SigningConfiguration RepositoryFilter

A repository filter used to determine which repositories have their images automatically signed on push. Each filter consists of a filter type and filter value.

Syntax

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

JSON

{ "Filter" : String, "FilterType" : String }

YAML

Filter: String FilterType: String

Properties

Filter

The filter value used to match repository names. When using WILDCARD_MATCH, the * character matches any sequence of characters.

Examples:

  • myapp/* - Matches all repositories starting with myapp/

  • */production - Matches all repositories ending with /production

  • *prod* - Matches all repositories containing prod

Required: Yes

Type: String

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

Minimum: 1

Maximum: 256

Update requires: No interruption

FilterType

The type of filter to apply. Currently, only WILDCARD_MATCH is supported, which uses wildcard patterns to match repository names.

Required: Yes

Type: String

Allowed values: WILDCARD_MATCH

Update requires: No interruption