interface ReplicationRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECR.Mixins.CfnReplicationConfigurationPropsMixin.ReplicationRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecr/mixins#CfnReplicationConfigurationPropsMixin_ReplicationRuleProperty |
Java | software.amazon.awscdk.mixins.preview.services.ecr.mixins.CfnReplicationConfigurationPropsMixin.ReplicationRuleProperty |
Python | aws_cdk.mixins_preview.aws_ecr.mixins.CfnReplicationConfigurationPropsMixin.ReplicationRuleProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ecr » mixins » CfnReplicationConfigurationPropsMixin » ReplicationRuleProperty |
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 { mixins as ecr_mixins } from '@aws-cdk/mixins-preview/aws-ecr';
const replicationRuleProperty: ecr_mixins.CfnReplicationConfigurationPropsMixin.ReplicationRuleProperty = {
destinations: [{
region: 'region',
registryId: 'registryId',
}],
repositoryFilters: [{
filter: 'filter',
filterType: 'filterType',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| destinations? | IResolvable | (IResolvable | Replication)[] | An array of objects representing the destination for a replication rule. |
| repository | IResolvable | (IResolvable | Repository)[] | An array of objects representing the filters for a replication rule. |
destinations?
Type:
IResolvable | (IResolvable | Replication)[]
(optional)
An array of objects representing the destination for a replication rule.
repositoryFilters?
Type:
IResolvable | (IResolvable | Repository)[]
(optional)
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.

.NET
Go
Java
Python
TypeScript