[{"data":1,"prerenderedAt":74},["ShallowReactive",2],{"pattern-lambda-esm-sqs-filters-sam":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":11,"deploy":13,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":26,"language":31,"level":32,"meta":33,"patternArch":34,"resources":62,"s3URL":6,"services":6,"stem":68,"testing":69,"videoId":6,"__hash__":73},"patterns\u002Fpatterns\u002Flambda-esm-sqs-filters-sam.json","AWS Lambda Event Source Mapping filters from Amazon SQS",null,{"headline":8,"text":9},"Cleanup",[10],"1. Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[12],"content\u002Fcontributors\u002Ftsvetko-tsenkov.json",{"text":14},[15,16],"sam build","sam deploy --guided","Sample Lambda ESM Filter rules for SQS triggers","json","AWS SAM",{"template":21},{"repoURL":22,"templateURL":23,"projectFolder":24,"templateFile":25},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-esm-sqs-filters-sam\u002F","serverless-patterns\u002Flambda-esm-sqs-filters-sam","lambda-esm-sqs-filters-sam","template.yaml",{"headline":27,"text":28},"How it works",[29,30],"Use this code to test out different trigger filters for your Lambda functions. You can use event filtering to control which events Lambda sends to your function for processing. You can use this template to explore and test how to configure event filtering for SQS messages triggering a lambda function.","The SAM template deploys multiple Lambda function, multiple SQS queues and the permissions required to run the application. The template also deploys an SNS topic that helps automate the testing of the pattern.","Python","200",{},{"icon1":35,"icon2":40,"icon3":45,"icon4":46,"icon5":50,"line1":51,"line2":55,"line3":57,"line6":60},{"x":36,"y":37,"service":38,"label":39},20,50,"sns","SNS",{"x":41,"y":42,"service":43,"label":44},47,70,"sqs","SQS",{"x":41,"y":36,"service":43,"label":44},{"x":47,"y":42,"service":48,"label":49},75,"lambda","AWS Lambda",{"x":47,"y":36,"service":48,"label":49},{"from":52,"to":53,"label":54},"icon1","icon2","",{"from":52,"to":56,"label":54},"icon3",{"from":53,"to":58,"label":59},"icon4","Filter",{"from":56,"to":61,"label":59},"icon5",{"headline":63,"bullets":64},"Additional resources",[65],{"text":66,"link":67},"Lambda event filtering","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Finvocation-eventfiltering.html","patterns\u002Flambda-esm-sqs-filters-sam",{"headline":70,"text":71},"Testing",[72],"See the GitHub repo for detailed testing instructions.","aPU8Zl7tAktCLhiWTYivpPT7pqcdob4Lr8Xrs11ouJw",1779273337319]