Skip to content
v2.274.0

OneZoneFileSystemProps Struct ​

Properties for configuring ReplicationConfiguration to replicate to a new One Zone file system.

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';

declare const key: kms.Key;
const oneZoneFileSystemProps: efs.OneZoneFileSystemProps = {
  availabilityZone: 'availabilityZone',
  region: 'region',

  // the properties below are optional
  kmsKey: key,
};

Properties ​

availabilityZonestringavailability_zonestravailabilityZoneStringAvailabilityZonestringAvailabilityZone*stringrequired#
The availability zone name of the destination file system.

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

kmsKeyoptionalIKeykms_keyoptionalIKeykmsKeyoptionalIKeyKmsKeyoptionalIKeyKmsKeyoptionalIKey#
AWS KMS key used to protect the encrypted file system.

Default: use service-managed KMS key for Amazon EFS

regionstringregionstrregionStringRegionstringRegion*stringrequired#
The AWS Region in which the destination file system is located.