[{"data":1,"prerenderedAt":75},["ShallowReactive",2],{"pattern-lambda-s3-async-lambda":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":32,"level":33,"meta":34,"patternArch":35,"resources":62,"s3URL":6,"services":6,"stem":70,"testing":71,"videoId":6,"__hash__":74},"patterns\u002Fpatterns\u002Flambda-s3-async-lambda.json","Handling async AWS Lambda functions with Amazon S3 when payload size is large",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fseoyeon-park.json",{"text":13},[14],"sam deploy","Lambda invokes another Lambda asynchronously. If payload exceeds the quota, it is saved to S3 which triggers the second Lambda.","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-s3-async-lambda","serverless-patterns\u002Flambda-s3-async-lambda","lambda-s3-async-lambda","template.yaml",{"headline":25,"text":26},"How it works",[27,28,29,30,31],"This sample project demonstrates how to use a Lambda function to invoke another Lambda function asynchronously.","The AWS SAM template provided deploys two Lambda functions. First Lambda function invokes second Lambda function asynchronously.","When the payload size exceeds the invocation payload size quota, then payload is saved to an Amazon S3 bucket.","S3 bucket `s3:ObjectCreated` event triggers second Lambda function.","Using Lambda function asynchronous invocation saves time and cost.","Python","200",{},{"icon1":36,"icon2":41,"icon3":46,"icon4":49,"icon5":51,"line1":52,"line2":56,"line3":58},{"x":37,"y":38,"service":39,"label":40},20,30,"lambda","SendPayloadFunction",{"x":42,"y":43,"service":44,"label":45},50,60,"s3","payload-S3-bucket",{"x":47,"y":38,"service":39,"label":48},80,"AsynchronousFunction",{"x":37,"y":43,"service":50,"label":50},"",{"x":47,"y":43,"service":50,"label":50},{"from":53,"to":54,"label":55},"icon4","icon2","Large payload size",{"from":54,"to":57,"label":50},"icon5",{"from":59,"to":60,"label":61},"icon1","icon3","Small payload size",{"bullets":63},[64,67],{"text":65,"link":66},"AWS Lambda Developer Guide - Invoking functions - Asynchronous invocation","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Finvocation-async.html",{"text":68,"link":69},"AWS Lambda Developer Guide - Lambda Quotas","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fgettingstarted-limits.html#function-configuration-deployment-and-execution","patterns\u002Flambda-s3-async-lambda",{"text":72},[73],"See the GitHub repo for detailed testing instructions.","VJacVG7VfIUvziaR3jq4t3PsJ_euwd4f_M6AqL_RoN0",1778846886475]