[{"data":1,"prerenderedAt":72},["ShallowReactive",2],{"pattern-lambda-lambda":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":30,"language":36,"level":37,"meta":38,"patternArch":39,"resources":56,"s3URL":6,"services":65,"stem":66,"testing":67,"videoId":35,"__hash__":71},"patterns\u002Fpatterns\u002Flambda-lambda.json","AWS Lambda to AWS 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\u002Fbenjamin-smith.json",{"text":15},[16],"sam deploy --guided","Create Lambda function that asychronously sends invocation results to another Lambda function.","json","AWS SAM",{"template":21,"payloads":26},{"projectFolder":22,"repoURL":23,"templateURL":24,"templateFile":25},"lambda-lambda","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-lambda","serverless-patterns\u002Flambda-lambda","template.yaml",[27],{"headline":28,"payloadURL":29},"Sample Lambda payload","lambda-lambda\u002Fevents\u002FfailEvent.json",{"headline":31,"text":32,"test":35},"How it works",[33,34],"This template deploys Lambda function that aynchronously sends its invocation results to another Lambda function. In this example, Lambda event destinations is used to send the invocation results on failure.","The event destination section of the \u003Ccode>AWS::Serverless::Function\u003C\u002Fcode>  also sets up the required permissions for downstream Lambda invocatipon to invoke a specific function.","","Node.js","200",{},{"icon1":40,"icon2":45,"icon3":48,"line1":49,"line2":53},{"x":41,"y":42,"service":43,"label":44},25,45,"lambda","Lambda function",{"x":46,"y":47,"service":43,"label":44},70,20,{"x":46,"y":46,"service":43,"label":44},{"from":50,"to":51,"label":52},"icon1","icon2","On success",{"from":50,"to":54,"label":55},"icon3","On failure",{"headline":57,"bullets":58},"Additional resources",[59,62],{"text":60,"link":61},"Introducing AWS Lambda Destinations","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fintroducing-aws-lambda-destinations\u002F",{"text":63,"link":64},"Controls for Managing Events in Serverless Applications - AWS Online Tech Talks","https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=rMXQGKAiBqI",{"from":43,"to":43},"patterns\u002Flambda-lambda",{"headline":68,"text":69},"Testing",[70],"See the GitHub repo for detailed testing instructions.","llxeNJMjCrBLEVIlUWInk2QHnVWcDsyOiAKPe0Rr29U",1782470142375]