Interface CfnReplicationConfiguration.ReplicationRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnReplicationConfiguration.ReplicationRuleProperty.Jsii$Proxy
- Enclosing class:
CfnReplicationConfiguration
@Stability(Stable)
public static interface CfnReplicationConfiguration.ReplicationRuleProperty
extends software.amazon.jsii.JsiiSerializable
An array of objects representing the replication destinations and repository filters for a replication configuration.
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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnReplicationConfiguration.ReplicationRuleProperty
static final class
An implementation forCfnReplicationConfiguration.ReplicationRuleProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestinations
An array of objects representing the destination for a replication rule.- See Also:
-
getRepositoryFilters
An array of objects representing the filters for a replication rule.Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.
- See Also:
-
builder
-