[{"data":1,"prerenderedAt":65},["ShallowReactive",2],{"pattern-lambda-destinations-sam":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":29,"level":30,"meta":31,"patternArch":32,"resources":51,"s3URL":6,"services":59,"stem":60,"testing":61,"videoId":6,"__hash__":64},"patterns\u002Fpatterns\u002Flambda-destinations-sam.json","AWS Lambda Destinations to AWS Lambda and Amazon SQS with AWS SAM",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fomar-rosadio.json",{"text":13},[14],"sam deploy","Lambda function that on success sends message to another function and on failure to SQS using Lambda destinations with SAM","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-destinations-sam","serverless-patterns\u002Flambda-destinations-sam","lambda-destinations-sam","template.yaml",{"headline":25,"text":26},"How it works",[27,28],"This sample project demonstrates how to create a Lambda function that on success sends message to another function and on failure to SQS using Lambda destinations with SAM.","The AWS SAM template deploys the resources and the IAM permissions required to run the application.","Node.js","200",{},{"icon1":33,"icon2":38,"icon3":41,"line1":44,"line2":48},{"x":34,"y":35,"service":36,"label":37},30,45,"lambda","AWS Lambda",{"x":39,"y":40,"service":36,"label":37},70,20,{"x":39,"y":39,"service":42,"label":43},"sqs","AWS SQS",{"from":45,"to":46,"label":47},"icon1","icon2","onSuccess",{"from":45,"to":49,"label":50},"icon3","onFailure",{"bullets":52},[53,56],{"text":54,"link":55},"Introducing AWS Lambda Destinations","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fintroducing-aws-lambda-destinations\u002F",{"text":57,"link":58},"Asynchronous invocation","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Finvocation-async.html",{"from":36,"to":42},"patterns\u002Flambda-destinations-sam",{"text":62},[63],"See the GitHub repo for detailed testing instructions.","CZ_aQHysp1S3O72EWQ2MleDL4L2rQAMChTaCNsf6bNU",1779273337000]