aws-cdk-lib.aws_ecr.CfnReplicationConfiguration.ReplicationDestinationProperty

interface ReplicationDestinationProperty

LanguageType name
.NETAmazon.CDK.AWS.ECR.CfnReplicationConfiguration.ReplicationDestinationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsecr#CfnReplicationConfiguration_ReplicationDestinationProperty
Javasoftware.amazon.awscdk.services.ecr.CfnReplicationConfiguration.ReplicationDestinationProperty
Pythonaws_cdk.aws_ecr.CfnReplicationConfiguration.ReplicationDestinationProperty
TypeScript aws-cdk-lib » aws_ecr » CfnReplicationConfiguration » ReplicationDestinationProperty

An array of objects representing the destination for a replication rule.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecr as ecr } from 'aws-cdk-lib';
const replicationDestinationProperty: ecr.CfnReplicationConfiguration.ReplicationDestinationProperty = {
  region: 'region',
  registryId: 'registryId',
};

Properties

NameTypeDescription
regionstringThe Region to replicate to.
registryIdstringThe AWS account ID of the Amazon ECR private registry to replicate to.

region

Type: string

The Region to replicate to.


registryId

Type: string

The AWS account ID of the Amazon ECR private registry to replicate to.

When configuring cross-Region replication within your own registry, specify your own account ID.