Amazon API Gateway REST API to AWS Lambda to Amazon EFS
Amazon API Gateway → AWS Lambda → Amazon EFS
Attach, configure and access Amazon EFS from AWS Lambda function.
This pattern outlines a solution on accessing the Elastic File System (EFS) from an AWS Lambda. An ideal use case to connect to EFS from AWS Lambda is to process files shared across multiple components of the application. When a upstream components writes data to a file and a backend task needs to process the data for downstream component, utilizing a file storage with AWS Lambda yields desired results. EFS is a serverless, no maintenance file system that can be accessed from various AWS resources.