# ReplicationConfigurationProps

Properties for the ReplicationConfiguration.

Used as props by: [ReplicationConfiguration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_efs.ReplicationConfiguration.html)

- Source: [`aws-efs/lib/efs-file-system.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-efs/lib/efs-file-system.ts#L373)
- Type last changed: v2.234.0 · 8 Jan 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_efs as efs } from 'aws-cdk-lib';
import { aws_kms as kms } from 'aws-cdk-lib';
import { aws_efs as interfaces_efs } from 'aws-cdk-lib/interfaces';

declare const fileSystemRef: interfaces_efs.IFileSystemRef;
declare const key: kms.Key;
const replicationConfigurationProps: efs.ReplicationConfigurationProps = {
  availabilityZone: 'availabilityZone',
  destinationFileSystem: fileSystemRef,
  kmsKey: key,
  region: 'region',
};
```

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_efs as efs
from aws_cdk import aws_kms as kms
from aws_cdk.interfaces import aws_efs as interfaces_efs

# file_system_ref: interfaces_efs.IFileSystemRef
# key: kms.Key

replication_configuration_props = efs.ReplicationConfigurationProps(
    availability_zone="availabilityZone",
    destination_file_system=file_system_ref,
    kms_key=key,
    region="region"
)
```

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.efs.*;
import software.amazon.awscdk.services.kms.*;
import software.amazon.awscdk.interfaces.efs.*;

IFileSystemRef fileSystemRef;
Key key;

ReplicationConfigurationProps replicationConfigurationProps = ReplicationConfigurationProps.builder()
        .availabilityZone("availabilityZone")
        .destinationFileSystem(fileSystemRef)
        .kmsKey(key)
        .region("region")
        .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.EFS;
using Amazon.CDK.AWS.KMS;
using Amazon.CDK.Interfaces.EFS;

IFileSystemRef fileSystemRef;
Key key;

var replicationConfigurationProps = new ReplicationConfigurationProps {
    AvailabilityZone = "availabilityZone",
    DestinationFileSystem = fileSystemRef,
    KmsKey = key,
    Region = "region"
};
```

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"
import "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"

var fileSystemRef IFileSystemRef
var key Key

replicationConfigurationProps := &ReplicationConfigurationProps{
	AvailabilityZone: jsii.String("availabilityZone"),
	DestinationFileSystem: fileSystemRef,
	KmsKey: key,
	Region: jsii.String("region"),
}
```

## Properties

- `availabilityZone`: string — The availability zone name of the destination file system.

  **Default:** no availability zone is set

  One zone file system is used as the destination file system when this property is set.

- `destinationFileSystem`: [IFileSystemRef](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_efs.IFileSystemRef.html) = None — The existing destination file system for the replication.

- `kmsKey`: [IKey](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.IKey.html) — AWS KMS key used to protect the encrypted file system.

  **Default:** use service-managed KMS key for Amazon EFS

- `region`: string — The AWS Region in which the destination file system is located.

  **Default:** the region of the stack
