Interface CfnReplicationConfiguration.RepositoryFilterProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnReplicationConfiguration.RepositoryFilterProperty.Jsii$Proxy
- Enclosing class:
CfnReplicationConfiguration
@Stability(Stable)
public static interface CfnReplicationConfiguration.RepositoryFilterProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ecr.*;
RepositoryFilterProperty repositoryFilterProperty = RepositoryFilterProperty.builder()
.filter("filter")
.filterType("filterType")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnReplicationConfiguration.RepositoryFilterPropertystatic final classAn implementation forCfnReplicationConfiguration.RepositoryFilterProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The repository filter details.The repository filter type.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFilter
The repository filter details.When the
PREFIX_MATCHfilter type is specified, this value is required and should be the repository name prefix to configure replication for.- See Also:
-
getFilterType
The repository filter type.The only supported value is
PREFIX_MATCH, which is a repository name prefix specified with thefilterparameter.- See Also:
-
builder
-