Configuring file system access for Lambda functions
You can configure a Lambda function to mount a file system to a local directory. Lambda supports the following file system types:
-
Amazon Elastic File System (Amazon EFS) – Serverless file system that scales automatically with your workloads.
-
Amazon S3 Files – Serverless file system for mounting your Amazon S3 bucket. Amazon S3 Files provides access to your Amazon S3 objects as files using standard file system operations such as read and write on the local mount path.
Note
A Lambda function can use either Amazon EFS or Amazon S3 Files, but not both. If your function is already configured with one file system type, you must remove it before configuring the other.