AWS::ECR::ReplicationConfiguration RepositoryFilter - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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::ReplicationConfiguration RepositoryFilter

The filter settings used with image replication. Specifying a repository filter to a replication rule provides a method for controlling which repositories in a private registry are replicated. If no filters are added, the contents of all repositories are replicated.

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 repository filter details. When the PREFIX_MATCH filter type is specified, this value is required and should be the repository name prefix to configure replication for.

Required: Yes

Type: String

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

Update requires: No interruption

FilterType

The repository filter type. The only supported value is PREFIX_MATCH, which is a repository name prefix specified with the filter parameter.

Required: Yes

Type: String

Allowed values: PREFIX_MATCH

Update requires: No interruption