aws-cdk-lib.aws_ecr.CfnReplicationConfiguration.RepositoryFilterProperty

interface RepositoryFilterProperty

LanguageType name
.NETAmazon.CDK.AWS.ECR.CfnReplicationConfiguration.RepositoryFilterProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsecr#CfnReplicationConfiguration_RepositoryFilterProperty
Javasoftware.amazon.awscdk.services.ecr.CfnReplicationConfiguration.RepositoryFilterProperty
Pythonaws_cdk.aws_ecr.CfnReplicationConfiguration.RepositoryFilterProperty
TypeScript aws-cdk-lib » aws_ecr » CfnReplicationConfiguration » RepositoryFilterProperty

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.

Example

// 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.CfnReplicationConfiguration.RepositoryFilterProperty = {
  filter: 'filter',
  filterType: 'filterType',
};

Properties

NameTypeDescription
filterstringThe repository filter details.
filterTypestringThe repository filter type.

filter

Type: string

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.


filterType

Type: string

The repository filter type.

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