[{"data":1,"prerenderedAt":65},["ShallowReactive",2],{"pattern-sns-sqs-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":55,"s3URL":6,"services":59,"stem":60,"testing":61,"videoId":6,"__hash__":64},"patterns\u002Fpatterns\u002Fsns-sqs-lambda-cdk.json","AWS Lambda to Amazon SNS to Amazon SQS 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 one Lambda function that sends a message to an SNS topic. That topic sends the message to a SQS queue and finally another Lambda picks the message.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fsns-sqs-lambda-cdk","serverless-patterns\u002Fsns-sqs-lambda-cdk","sns-sqs-lambda-cdk","src\u002Flib\u002Fsns-sqs-lambda-cdk.ts",{"headline":25,"text":26},"How it works",[27],"This sample project demonstrates how to create a SNS + SQS system, in which all the messages sent by a publisher are sent to all the consumers, and there is a buffer between the message producer and the consumer. In this way the consumers don't get overload with messages. ","TypeScript","200",{},{"icon1":32,"icon2":37,"icon3":41,"icon4":45,"line1":47,"line2":51,"line3":53},{"x":33,"y":34,"service":35,"label":36},15,45,"lambda","AWS Lambda",{"x":38,"y":34,"service":39,"label":40},40,"sns","AWS SNS",{"x":42,"y":34,"service":43,"label":44},65,"sqs","AWS SQS",{"x":46,"y":34,"service":35,"label":36},90,{"from":48,"to":49,"label":50},"icon1","icon2","",{"from":49,"to":52,"label":50},"icon3",{"from":52,"to":54,"label":50},"icon4",{"bullets":56},[57],{"text":40,"link":58},"https:\u002F\u002Faws.amazon.com\u002Fsns\u002F",{"from":35,"to":39},"patterns\u002Fsns-sqs-lambda-cdk",{"text":62},[63],"See the GitHub repo for detailed testing instructions.","ktjP2eBgLJa2AzY47E1PEqoxtmde0u9oBLUq-ot2WKw",1778927711569]