Skip to content
v2.274.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',
};

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