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