# OneZoneFileSystemProps

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

- Source: [`aws-efs/lib/efs-file-system.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-efs/lib/efs-file-system.ts#L408)
- Type last changed: v2.139.0 · 24 Apr 2024

## 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

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

- `kmsKey`: [IKey](/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 (required) — The AWS Region in which the destination file system is located.
