Interface CfnReplicationConfiguration.IReplicationRuleProperty
An array of objects representing the replication destinations and repository filters for a replication configuration.
Namespace: Amazon.CDK.AWS.ECR
Assembly: Amazon.CDK.AWS.ECR.dll
Syntax (csharp)
public interface IReplicationRuleProperty
Syntax (vb)
Public Interface IReplicationRuleProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECR;
var replicationRuleProperty = new ReplicationRuleProperty {
Destinations = new [] { new ReplicationDestinationProperty {
Region = "region",
RegistryId = "registryId"
} },
// the properties below are optional
RepositoryFilters = new [] { new RepositoryFilterProperty {
Filter = "filter",
FilterType = "filterType"
} }
};
Synopsis
Properties
Destinations | An array of objects representing the destination for a replication rule. |
RepositoryFilters | An array of objects representing the filters for a replication rule. |
Properties
Destinations
An array of objects representing the destination for a replication rule.
object Destinations { get; }
Property Value
System.Object
Remarks
RepositoryFilters
An array of objects representing the filters for a replication rule.
virtual object RepositoryFilters { get; }
Property Value
System.Object
Remarks
Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.