Class CfnReplicationConfiguration.ReplicationRuleProperty
An array of objects representing the replication destinations and repository filters for a replication configuration.
Inheritance
System.Object
CfnReplicationConfiguration.ReplicationRuleProperty
Namespace: Amazon.CDK.AWS.ECR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ReplicationRuleProperty : Object, CfnReplicationConfiguration.IReplicationRuleProperty
Syntax (vb)
Public Class ReplicationRuleProperty
Inherits Object
Implements CfnReplicationConfiguration.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
Constructors
ReplicationRuleProperty() |
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. |
Constructors
ReplicationRuleProperty()
public ReplicationRuleProperty()
Properties
Destinations
An array of objects representing the destination for a replication rule.
public object Destinations { get; set; }
Property Value
System.Object
Remarks
RepositoryFilters
An array of objects representing the filters for a replication rule.
public object RepositoryFilters { get; set; }
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.