import type { SubnetNamePrefix } from "../../vpc/vpc-subnet-config.js"; import { VpcDetails } from "../../vpc/vpc-details.js"; export interface EfsConfig { /** The VPC to deploy into, as returned by `VpcProvisioner.provision()`. */ vpcDetails: VpcDetails; /** Prefix of the VPC subnets mount targets are created in (one per subnet) (matches `VpcSubnetConfig.prefix`; see `SubnetNamePrefix`). */ subnetNamePrefix: SubnetNamePrefix; /** Prefixes of the subnets whose CIDR ranges may mount the file system over NFS (port 2049); they become the security group's ingress rules. */ ingressSubnetNamePrefixes: ReadonlyArray; /** Default: `false` (general purpose). `true` selects the maxIO performance mode. */ useMaxIoPerformanceMode?: boolean; }