AWS::ECR::SigningConfiguration RepositoryFilter - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS 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 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