[{"data":1,"prerenderedAt":59},["ShallowReactive",2],{"pattern-lambda-esm-kinesis-filters-sam":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":29,"level":30,"meta":31,"patternArch":32,"resources":46,"s3URL":6,"services":52,"stem":54,"testing":55,"videoId":6,"__hash__":58},"patterns\u002Fpatterns\u002Flambda-esm-kinesis-filters-sam.json","AWS Event Source Mapping for AWS Lambda from Amazon Kinesis Data Stream",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fdmitry-gulin.json",{"text":13},[14],"sam deploy --guided","Sample Lambda ESM Filter rules for Amazon Kinesis Data Stream triggers","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-esm-kinesis-filters-sam","serverless-patterns\u002Flambda-esm-kinesis-filters-sam","lambda-esm-kinesis-filters-sam","template.yaml",{"headline":25,"text":26},"How it works",[27,28],"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 Amazon Kinesis messages triggering a lambda function.","The SAM template deploys multiple Lambda function, a single Kinesis Data Stream and the permissions required to run the application. The template enforces 3 days retention period for all AWS Lambda CloudWatch logs. All AWS Lambda functions are deployed to NodeJS 18 runtime running on ARM64 processors powered by AWS Graviton.","Node.js","200",{},{"icon1":33,"icon2":38,"line1":42},{"x":34,"y":35,"service":36,"label":37},30,45,"kinesis-datastreams","Kinesis Data Stream",{"x":39,"y":35,"service":40,"label":41},70,"lambda","6 x Lambda functions",{"from":43,"to":44,"label":45},"icon1","icon2","6 x ESM filters",{"headline":47,"bullets":48},"Additional resources",[49],{"text":50,"link":51},"Lambda event filtering","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Finvocation-eventfiltering.html",{"from":53,"to":40},"kinesis","patterns\u002Flambda-esm-kinesis-filters-sam",{"text":56},[57],"See the GitHub repo for detailed testing instructions.","wKCU7uLMUAavE5ffXevhMMVmS7TfXtmz-jFs9Yeo_eY",1778846886162]