[{"data":1,"prerenderedAt":67},["ShallowReactive",2],{"pattern-lambda-s3-files-sam":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":6,"introBox":25,"language":31,"level":32,"meta":33,"patternArch":34,"resources":48,"s3URL":6,"services":6,"stem":62,"testing":63,"videoId":6,"__hash__":66},"patterns\u002Fpatterns\u002Flambda-s3-files-sam.json","AWS Lambda using Amazon S3 Files",null,{"text":8},[9],"Delete the stack: \u003Ccode>aws cloudformation delete-stack --stack-name STACK_NAME\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fserda-kasaci-yildirim.json",{"text":13},[14,15],"sam build","sam deploy --guided","This pattern mounts an Amazon S3 bucket as a file system on AWS Lambda using Amazon S3 Files. Read data with standard Python file I\u002FO.","json","AWS SAM",{"template":20},{"repoURL":21,"templateURL":22,"projectFolder":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-s3-files-sam","serverless-patterns\u002Flambda-s3-files-sam","lambda-s3-files-sam","template.yaml",{"headline":26,"text":27},"How it works",[28,29,30],"Amazon S3 Files is a shared file system built on Amazon EFS that provides full POSIX file system semantics over your S3 data. It lets file-based applications, agents, and tools work directly with S3 data without duplicating it or learning new APIs.","This pattern links an S3 bucket to an S3 file system and mounts it on a Lambda function at \u002Fmnt\u002Fs3data. When invoked, the Lambda function reads a CSV file from the mount path — all through standard Python file I\u002FO, with no boto3 S3 calls.","This pattern deploys one Amazon S3 bucket, one Amazon S3 file system, one mount target, one Amazon S3 Files access point, one AWS Lambda function, and a VPC with a private subnet and VPC endpoints for Amazon S3.","Python","200",{},{"icon1":35,"icon2":40,"line1":44},{"x":36,"y":37,"service":38,"label":39},20,50,"lambda","AWS Lambda",{"x":41,"y":37,"service":42,"label":43},80,"s3","Amazon S3 Files",{"from":45,"to":46,"label":47},"icon1","icon2","",{"bullets":49},[50,53,56,59],{"text":51,"link":52},"Amazon S3 Files — product page","https:\u002F\u002Faws.amazon.com\u002Fs3\u002Ffeatures\u002Ffiles\u002F",{"text":54,"link":55},"Working with Amazon S3 Files — documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Fs3-files.html",{"text":57,"link":58},"Mounting S3 file systems on AWS Lambda functions","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Fs3-files-mounting-lambda.html",{"text":60,"link":61},"Configuring file system access for Lambda functions","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fconfiguration-filesystem.html","patterns\u002Flambda-s3-files-sam",{"text":64},[65],"See the GitHub repo for detailed testing instructions.","VVy5l3EmbR8qiNo7XZrqqjJiYncdBY_TpvQQvGGUa1Y",1782210918107]