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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnReplicationConfiguration.ReplicationRulePropertystatic final classAn 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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnReplicationConfiguration.ReplicationDestinationProperty>- 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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnReplicationConfiguration.RepositoryFilterProperty>- See Also:
-
builder
-