[{"data":1,"prerenderedAt":62},["ShallowReactive",2],{"pattern-lambda-sns-filters-lambda":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":56,"stem":57,"testing":58,"videoId":6,"__hash__":61},"patterns\u002Fpatterns\u002Flambda-sns-filters-lambda.json","AWS Lambda to Amazon SNS with filters 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 that contains a filter. One function gets trigger always but the other depends on the filter.","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-filters-lambda","serverless-patterns\u002Flambda-sns-filters-lambda","lambda-sns-filters-lambda","src\u002Flib\u002Flambda-sns-filters-lambda.ts",{"headline":25,"text":26},"How it works",[27],"This sample project demonstrates how to use create a SNS with filters and trigger different functions depending on the filtering.","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,53],{"text":40,"link":52},"https:\u002F\u002Faws.amazon.com\u002Fsns\u002F",{"text":54,"link":55},"Amazon SNS message filtering","https:\u002F\u002Fdocs.aws.amazon.com\u002Fsns\u002Flatest\u002Fdg\u002Fsns-message-filtering.html",{"from":35,"to":39},"patterns\u002Flambda-sns-filters-lambda",{"text":59},[60],"See the GitHub repo for detailed testing instructions.","vGguI6yDZRnoAcN0S7dOe8vQtva_XIKsv7TpSlBTFuM",1779273337802]