Skip to content
v2.274.0

RepositoryFilterProperty Struct ​

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.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecr as ecr } from 'aws-cdk-lib';
const repositoryFilterProperty: ecr.CfnSigningConfiguration.RepositoryFilterProperty = {
  filter: 'filter',
  filterType: 'filterType',
};

Properties ​

filterstringfilterstrfilterStringFilterstringFilter*stringrequired#
The filter value used to match repository names.
notes

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
filterTypestringfilter_typestrfilterTypeStringFilterTypestringFilterType*stringrequired#
The type of filter to apply.

Currently, only WILDCARD_MATCH is supported, which uses wildcard patterns to match repository names.