[{"data":1,"prerenderedAt":58},["ShallowReactive",2],{"pattern-sns-sqs-message-content-router-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":31,"level":32,"meta":33,"patternArch":34,"resources":48,"s3URL":6,"services":6,"stem":53,"testing":54,"videoId":6,"__hash__":57},"patterns\u002Fpatterns\u002Fsns-sqs-message-content-router-cdk.json","Content-based message router with Amazon SNS and Amazon SQS filters",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fraffaele-garofalo.json",{"text":13},[14],"cdk deploy","Create an SNS topic that filters content using a set of SQS queues based on configurable critiria.","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-message-content-router-cdk","serverless-patterns\u002Fsns-sqs-message-content-router-cdk","sns-sqs-message-content-router-cdk","src\u002Flib\u002Fsrc-stack.ts",{"headline":25,"text":26},"How it works",[27,28,29,30],"This CDK project showcases the creation of a message content-based routing pattern using Amazon SNS and Amazon SQS.","The stackconfiguration.json file dynamically defines the number of queues and filters, allowing easy adaptation for specific requirements.","The architecture follows the Content-based message router integration pattern as described in the Integration Patterns book.","Content can be filtered based on attributes or message body, providing complete flexibility.","TypeScript","200",{},{"icon1":35,"icon2":40,"line1":44},{"x":36,"y":37,"service":38,"label":39},20,50,"sns","Amazon SNS",{"x":41,"y":37,"service":42,"label":43},80,"sqs","Amazon SQS",{"from":45,"to":46,"label":47},"icon1","icon2","",{"bullets":49},[50],{"text":51,"link":52},"Amazon SNS subscription filter policies","https:\u002F\u002Fdocs.aws.amazon.com\u002Fsns\u002Flatest\u002Fdg\u002Fsns-subscription-filter-policies.html","patterns\u002Fsns-sqs-message-content-router-cdk",{"text":55},[56],"See the GitHub repo for detailed testing instructions.","2o7gikK2TggI7-GrVcoNzlkNjQV8bYhNXyXE6PpX4a4",1779273339668]