[{"data":1,"prerenderedAt":59},["ShallowReactive",2],{"pattern-lambda-sns-lambda-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":49,"s3URL":6,"services":53,"stem":54,"testing":55,"videoId":6,"__hash__":58},"patterns\u002Fpatterns\u002Flambda-sns-lambda-cdk.json","AWS Lambda to Amazon SNS to AWS Lambda",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fmarcia-villalba.json",{"text":13},[14],"cdk deploy","Creates a Lambda function that sends a message to a SNS and then another function gets triggered when there is a new notification in the topic.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-sns-lambda-cdk","serverless-patterns\u002Flambda-sns-lambda-cdk","lambda-sns-lambda-cdk","src\u002Flib\u002Flambda-sns-lambda.ts",{"headline":25,"text":26},"How it works",[27],"This sample project demonstrates how to create a Lambda function that sends a message to an SNS topic using AWS SDK. Then another function gets trigger when a message is in the topic.","TypeScript","200",{},{"icon1":32,"icon2":37,"icon3":41,"line1":43,"line2":47},{"x":33,"y":34,"service":35,"label":36},20,45,"lambda","AWS Lambda",{"x":38,"y":34,"service":39,"label":40},50,"sns","AWS SNS",{"x":42,"y":34,"service":35,"label":36},80,{"from":44,"to":45,"label":46},"icon1","icon2","",{"from":45,"to":48,"label":46},"icon3",{"bullets":50},[51],{"text":40,"link":52},"https:\u002F\u002Faws.amazon.com\u002Fsns\u002F",{"from":35,"to":39},"patterns\u002Flambda-sns-lambda-cdk",{"text":56},[57],"See the GitHub repo for detailed testing instructions.","2B25gYhkTMkCFkfFxT90mIe6BX6rXTo4DqDGUY78o8E",1779273337807]