[{"data":1,"prerenderedAt":60},["ShallowReactive",2],{"pattern-lambda-esm-msk-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":48,"s3URL":6,"services":6,"stem":54,"testing":55,"videoId":6,"__hash__":59},"patterns\u002Fpatterns\u002Flambda-esm-msk-filters-sam.json","AWS Lambda event filtering using event source mapping for Amazon MSK",null,{"headline":8,"text":9},"Cleanup",[10],"1. Delete the stack: \u003Ccode>sam delete --stack-name lambda-msk-esm-stack\u003C\u002Fcode>.",[12],"content\u002Fcontributors\u002Fnikhil-penmetsa.json",{"text":14},[15,16],"sam build","sam deploy --stack-name lambda-msk-esm-stack --resolve-s3 --capabilities CAPABILITY_IAM --no-fail-on-empty-changeset --parameter-overrides MSKStreamARN='ClusterARN' MSKTopicName='TopicName'","Sample Lambda ESM Filter rules for Amazon Managed Streaming for Apache Kafka (Amazon MSK)","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-msk-filters-sam\u002F","serverless-patterns\u002Flambda-esm-msk-filters-sam","lambda-esm-msk-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. ","Use this template to explore and test how to configure event filtering for Amazon MSK messages triggering a lambda function. ","Python","200",{},{"icon1":35,"icon2":40,"line1":44},{"x":36,"y":37,"service":38,"label":39},20,50,"msk","Amazon MSK",{"x":41,"y":37,"service":42,"label":43},80,"lambda","AWS Lambda",{"from":45,"to":46,"label":47},"icon1","icon2","",{"headline":49,"bullets":50},"Additional resources",[51],{"text":52,"link":53},"Lambda event filtering","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Finvocation-eventfiltering.html","patterns\u002Flambda-esm-msk-filters-sam",{"headline":56,"text":57},"Testing",[58],"See the GitHub repo for detailed testing instructions.","uMcXpO0Bw-IF_FusBXeFJS0ZK5WNNfKCZjlp2eHWqSI",1779273337315]