interface RepositoryFilterProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECR.Mixins.CfnReplicationConfigurationPropsMixin.RepositoryFilterProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecr/mixins#CfnReplicationConfigurationPropsMixin_RepositoryFilterProperty |
Java | software.amazon.awscdk.mixins.preview.services.ecr.mixins.CfnReplicationConfigurationPropsMixin.RepositoryFilterProperty |
Python | aws_cdk.mixins_preview.aws_ecr.mixins.CfnReplicationConfigurationPropsMixin.RepositoryFilterProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ecr » mixins » CfnReplicationConfigurationPropsMixin » 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 { mixins as ecr_mixins } from '@aws-cdk/mixins-preview/aws-ecr';
const repositoryFilterProperty: ecr_mixins.CfnReplicationConfigurationPropsMixin.RepositoryFilterProperty = {
filter: 'filter',
filterType: 'filterType',
};
Properties
| Name | Type | Description |
|---|---|---|
| filter? | string | The repository filter details. |
| filter | string | The repository filter type. |
filter?
Type:
string
(optional)
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
(optional)
The repository filter type.
The only supported value is PREFIX_MATCH , which is a repository name prefix specified with the filter parameter.

.NET
Go
Java
Python
TypeScript