AWS::ECR::RegistryScanningConfiguration 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::RegistryScanningConfiguration 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 Amazon CloudFormation template, use the following syntax:

JSON

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

YAML

Filter: String FilterType: String

Properties

Filter

The filter to use when scanning.

Required: Yes

Type: String

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

Update requires: No interruption

FilterType

The type associated with the filter.

Required: Yes

Type: String

Allowed values: WILDCARD

Update requires: No interruption