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: