[{"data":1,"prerenderedAt":78},["ShallowReactive",2],{"pattern-apigw-sns-sqs-cdk-dotnet":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":13,"deploy":15,"description":18,"extension":19,"framework":20,"gitHub":21,"highlight":6,"introBox":27,"language":31,"level":32,"meta":33,"patternArch":34,"resources":60,"s3URL":6,"services":6,"stem":72,"testing":73,"videoId":6,"__hash__":77},"patterns\u002Fpatterns\u002Fapigw-sns-sqs-cdk-dotnet.json","Amazon API Gateway to Amazon SNS to Amazon SQS to AWS Lambda",null,{"headline":8,"text":9},"Cleanup",[10,11,12],"1. Delete the stack: \u003Ccode>npx cdk destroy\u003C\u002Fcode>.","2. Confirm the stack has been deleted: \u003Ccode>aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus\"\u003C\u002Fcode>.","3. You see a message confirming DELETE_COMPLETE.",[14],"content\u002Fcontributors\u002Fmohammed-hafeez-ali-khan.json",{"text":16},[17],"cdk deploy","Create an API Gateway REST API that integrates with SNS and SQS","json","AWS CDK",{"template":22},{"projectFolder":23,"repoURL":24,"templateURL":25,"templateFile":26},"apigw-sns-sqs-lambda-cdk-dotnet","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-sns-sqs-lambda-cdk-dotnet","serverless-patterns\u002Fapigw-sns-sqs-lambda-cdk-dotnet","src\u002FApigwSnsSqsLambdaCdkDotnet\u002FApigwSnsSqsLambdaCdkDotnetStack.cs",{"headline":28,"text":29},"How it works",[30],"This CDK application demonstrates how to set up a topic-queue-chaining pattern using Amazon SNS and Amazon SQS behind an Amazon API Gateway. This architecture helps in setting up a highly scalable API that can consume messages\u002Fevents, fan them out and process them asynchronously.",".NET","300",{},{"icon1":35,"icon2":40,"icon3":44,"icon4":48,"line1":52,"line2":56,"line3":58},{"x":36,"y":37,"service":38,"label":39},20,50,"apigw","API Gateway",{"x":41,"y":37,"service":42,"label":43},40,"sns","Amazon SNS",{"x":45,"y":37,"service":46,"label":47},60,"sqs","Amazon SQS",{"x":49,"y":37,"service":50,"label":51},80,"lambda","AWS Lambda",{"from":53,"to":54,"label":55},"icon1","icon2","",{"from":54,"to":57,"label":55},"icon3",{"from":57,"to":59,"label":55},"icon4",{"headline":61,"bullets":62},"Additional resources",[63,66,69],{"text":64,"link":65},"Working with HTTP APIs","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fhttp-api.html",{"text":67,"link":68},"Working with AWS Lambda proxy integrations for HTTP APIs","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fhttp-api-develop-integrations-lambda.html",{"text":70,"link":71},"Using Amazon SQS dead-letter queues to replay messages","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fusing-amazon-sqs-dead-letter-queues-to-replay-messages\u002F","patterns\u002Fapigw-sns-sqs-cdk-dotnet",{"headline":74,"text":75},"Testing",[76],"See the repo for detailed testing notes.","x6H4SAVjKsVm0mBd3m2vVb4hbpbpj1ZLcqTm52lQ2W0",1778846882815]