[{"data":1,"prerenderedAt":71},["ShallowReactive",2],{"pattern-s3-object-lambda":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":18,"extension":19,"framework":20,"gitHub":21,"highlight":6,"introBox":30,"language":34,"level":35,"meta":36,"patternArch":37,"resources":51,"s3URL":63,"services":64,"stem":65,"testing":66,"videoId":29,"__hash__":70},"patterns\u002Fpatterns\u002Fs3-object-lambda.json","Amazon S3 with S3 Object Lambda",null,{"headline":8,"text":9},"Cleanup",[10,11],"1. Delete the stack: \u003Ccode>sam delete --stack-name STACK_NAME\u003C\u002Fcode>.","2. Confirm the stack has been deleted: \u003Ccode>aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus\"\u003C\u002Fcode>",[13],"content\u002Fcontributors\u002Fgreg-davis.json",{"text":15},[16,17],"sam build","sam deploy --guided","Use S3 Object Lambda to return a thumbnail version of an S3 object.","json","AWS SAM",{"template":22,"payloads":27},{"projectFolder":23,"repoURL":24,"templateURL":25,"templateFile":26},"s3-object-lambda","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fs3-object-lambda","serverless-patterns\u002Fs3-object-lambda","template.yaml",[28],{"headline":29,"payloadURL":29},"",{"headline":31,"text":32},"How it works",[33],"The SAM template deploys a Lambda function, an S3 bucket, an S3 Access Point, and an S3 Object Lambda Access Point. This application uses S3 Object Lambda to return a thumbnail version of an image in S3. The Lambda function execution role has CRUD access to the S3 bucket and s3-object-lambda:WriteGetObjectResponse.","Node.js","200",{},{"icon1":38,"icon2":43,"line1":47},{"x":39,"y":40,"service":41,"label":42},20,50,"s3","S3",{"x":44,"y":40,"service":45,"label":46},80,"lambda","AWS Lambda",{"from":48,"to":49,"label":50},"icon1","icon2","S3 Object Lambda Access Point",{"headline":52,"bullets":53},"Additional resources",[54,57,60],{"text":55,"link":56},"Introducing Amazon S3 Object Lambda – Use Your Code to Process Data as It Is Being Retrieved from S3","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Faws\u002Fintroducing-amazon-s3-object-lambda-use-your-code-to-process-data-as-it-is-being-retrieved-from-s3\u002F",{"text":58,"link":59},"Transforming objects with S3 Object Lambda","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Ftransforming-objects.html",{"text":61,"link":62},"S3 Object Lambda pricing","https:\u002F\u002Faws.amazon.com\u002Fs3\u002Fpricing\u002F","https:\u002F\u002Fda-public-assets.s3.amazonaws.com\u002Fpatterns\u002Fs3-object-lambda\u002Fcloudformation.yml",{"from":41,"to":45},"patterns\u002Fs3-object-lambda",{"headline":67,"text":68},"Testing",[69],"See the GitHub repo for detailed testing instructions","xjAzWAWOm9K_jEVzqaWFkyDHedBVrxD_cYrLBBceWr0",1781001385148]