Skip to the content.

EFS

These constructs relate to Elastic File System.

EncryptedFileSystem

You can use the EncryptedFileSystem to create both an AWS::EFS::FileSystem and an AWS::KMS::Key and control the retention settings of both.

import { EncryptedFileSystem } from "shady-island/lib/efs";

const nfs = new EncryptedFileSystem(stack, "NFS", { vpc });
// nfs.fileSystem instanceof IFileSystem
// nfs.key instanceof IKey