@Stability(value=Stable)
public static interface CfnReplicationConfiguration.ReplicationRuleProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
ReplicationRuleProperty replicationRuleProperty = ReplicationRuleProperty.builder()
.destinations(List.of(ReplicationDestinationProperty.builder()
.region("region")
.registryId("registryId")
.build()))
// the properties below are optional
.repositoryFilters(List.of(RepositoryFilterProperty.builder()
.filter("filter")
.filterType("filterType")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnReplicationConfiguration.ReplicationRuleProperty.Builder
A builder for
CfnReplicationConfiguration.ReplicationRuleProperty |
static class |
CfnReplicationConfiguration.ReplicationRuleProperty.Jsii$Proxy
An implementation for
CfnReplicationConfiguration.ReplicationRuleProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnReplicationConfiguration.ReplicationRuleProperty.Builder |
builder() |
Object |
getDestinations()
An array of objects representing the destination for a replication rule.
|
default Object |
getRepositoryFilters()
An array of objects representing the filters for a replication rule.
|
@Stability(value=Stable) @NotNull Object getDestinations()
@Stability(value=Stable) @Nullable default Object getRepositoryFilters()
Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.
@Stability(value=Stable) static CfnReplicationConfiguration.ReplicationRuleProperty.Builder builder()
Copyright © 2022. All rights reserved.