# ReplicationDestinationProperty

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

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// 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',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ecr as ecr

replication_destination_property = ecr.CfnReplicationConfiguration.ReplicationDestinationProperty(
    region="region",
    registry_id="registryId"
)
```

Java:

```java
// 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.*;

ReplicationDestinationProperty replicationDestinationProperty = ReplicationDestinationProperty.builder()
        .region("region")
        .registryId("registryId")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 replicationDestinationProperty = new ReplicationDestinationProperty {
    Region = "region",
    RegistryId = "registryId"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

replicationDestinationProperty := &ReplicationDestinationProperty{
	Region: jsii.String("region"),
	RegistryId: jsii.String("registryId"),
}
```

## Properties

- `region`: string (required) — The Region to replicate to.

- `registryId`: string (required) — 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.
