@Stability(value=Stable)
public static interface CfnReplicationConfiguration.RepositoryFilterProperty
extends software.amazon.jsii.JsiiSerializable
Specifying a repository filter to a replication rule provides a method for controlling which repositories in a private registry are replicated. If no repository filter is specified, all images in the repository 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnReplicationConfiguration.RepositoryFilterProperty.Builder
A builder for
CfnReplicationConfiguration.RepositoryFilterProperty |
static class |
CfnReplicationConfiguration.RepositoryFilterProperty.Jsii$Proxy
An implementation for
CfnReplicationConfiguration.RepositoryFilterProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnReplicationConfiguration.RepositoryFilterProperty.Builder |
builder() |
String |
getFilter()
The repository filter details.
|
String |
getFilterType()
The repository filter type.
|
@Stability(value=Stable) @NotNull String getFilter()
When the PREFIX_MATCH filter type is specified, this value is required and should be the repository name prefix to configure replication for.
@Stability(value=Stable) @NotNull String getFilterType()
The only supported value is PREFIX_MATCH , which is a repository name prefix specified with the filter parameter.
@Stability(value=Stable) static CfnReplicationConfiguration.RepositoryFilterProperty.Builder builder()
Copyright © 2022. All rights reserved.