[{"data":1,"prerenderedAt":63},["ShallowReactive",2],{"pattern-lambda-s3-files-cdk":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":30,"level":31,"meta":32,"patternArch":33,"resources":47,"s3URL":6,"services":6,"stem":58,"testing":59,"videoId":6,"__hash__":62},"patterns\u002Fpatterns\u002Flambda-s3-files-cdk.json","AWS Lambda with Amazon S3 Files Mount",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fnithin-chandran-r.json",{"text":13},[14],"cdk deploy","Mount an Amazon S3 bucket as a local file system on AWS Lambda using Amazon S3 Files, enabling standard file operations (read, write, list) without downloading objects.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-s3-files-cdk","serverless-patterns\u002Flambda-s3-files-cdk","lambda-s3-files-cdk","lib\u002Flambda-s3-files-stack.ts",{"headline":25,"text":26},"How it works",[27,28,29],"This pattern deploys a Lambda function with an Amazon S3 Files file system mounted at \u002Fmnt\u002Fs3data. The function performs standard file operations (read, write, list) on S3 data using the local filesystem — no S3 API calls needed.","S3 Files provides NFS access to S3 buckets with sub-millisecond latency on small files and full POSIX semantics. The pattern creates a VPC, S3 Files file system, mount targets, access point, and a Lambda function wired together.","Multiple Lambda functions can connect to the same S3 Files file system simultaneously, sharing data through a common workspace without custom synchronization logic.","TypeScript","300",{},{"icon1":34,"icon2":39,"line1":43},{"x":35,"y":36,"service":37,"label":38},20,50,"lambda","AWS Lambda",{"x":40,"y":36,"service":41,"label":42},80,"s3","Amazon S3 Files",{"from":44,"to":45,"label":46},"icon1","icon2","read\u002Fwrite",{"bullets":48},[49,52,55],{"text":50,"link":51},"Amazon S3 Files Documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Fs3-files.html",{"text":53,"link":54},"Configuring Amazon S3 Files access for Lambda","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fconfiguration-filesystem-s3files.html",{"text":56,"link":57},"Mounting S3 file systems on Lambda functions","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Fs3-files-mounting-lambda.html","patterns\u002Flambda-s3-files-cdk",{"text":60},[61],"See the GitHub repo for detailed testing instructions.","83v6IrOlxGVmxL687dKLIW60IxmmfrgSLEE_17f5bMo",1778846886503]