Skip to content
v2.276.0

ReplicationConfigurationProps Struct ​

Properties for the ReplicationConfiguration.

Example ​

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
# 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
// 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();
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"
};
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 ​

availabilityZoneoptionalstringavailability_zoneoptionalstravailabilityZoneoptionalStringAvailabilityZoneoptionalstringAvailabilityZoneoptional*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.

destinationFileSystemoptionalIFileSystemRefdestination_file_systemoptionalIFileSystemRefdestinationFileSystemoptionalIFileSystemRefDestinationFileSystemoptionalIFileSystemRefDestinationFileSystemoptionalIFileSystemRef= None#
The existing destination file system for the replication.
kmsKeyoptionalIKeykms_keyoptionalIKeykmsKeyoptionalIKeyKmsKeyoptionalIKeyKmsKeyoptionalIKey#
AWS KMS key used to protect the encrypted file system.

Default: use service-managed KMS key for Amazon EFS

regionoptionalstringregionoptionalstrregionoptionalStringRegionoptionalstringRegionoptional*string#
The AWS Region in which the destination file system is located.

Default: the region of the stack