Interface CfnReplicationConfiguration.IRepositoryFilterProperty
The filter settings used with image replication.
Namespace: Amazon.CDK.AWS.ECR
Assembly: Amazon.CDK.AWS.ECR.dll
Syntax (csharp)
public interface IRepositoryFilterProperty
Syntax (vb)
Public Interface IRepositoryFilterProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECR;
var repositoryFilterProperty = new RepositoryFilterProperty {
Filter = "filter",
FilterType = "filterType"
};
Synopsis
Properties
Filter | The repository filter details. |
FilterType | The repository filter type. |
Properties
Filter
The repository filter details.
string Filter { get; }
Property Value
System.String
Remarks
When the PREFIX_MATCH
filter type is specified, this value is required and should be the repository name prefix to configure replication for.
FilterType
The repository filter type.
string FilterType { get; }
Property Value
System.String
Remarks
The only supported value is PREFIX_MATCH
, which is a repository name prefix specified with the filter
parameter.