[{"data":1,"prerenderedAt":64},["ShallowReactive",2],{"pattern-dynamodb-lambda-filters-terraform":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":13,"deploy":15,"description":18,"extension":19,"framework":20,"gitHub":21,"highlight":6,"introBox":27,"language":32,"level":33,"meta":34,"patternArch":35,"resources":49,"s3URL":6,"services":6,"stem":58,"testing":59,"videoId":6,"__hash__":63},"patterns\u002Fpatterns\u002Fdynamodb-lambda-filters-terraform.json","Amazon DynamoDB to AWS Lambda",null,{"headline":8,"text":9},"Cleanup",[10,11,12],"1. Change directory: \u003Ccode>cd eventbridge-cloudwatch-terraform\u003C\u002Fcode>.","2. Delete the stack: \u003Ccode>terraform destroy\u003C\u002Fcode>.","3. Confirm the stack has been deleted: \u003Ccode>terraform show\u003C\u002Fcode>.",[14],"content\u002Fcontributors\u002Fezzeddine-el-ayoubi.json",{"text":16},[17],"See the GitHub repo for detailed deployment instructions.","Invoke a Lambda function from changes to a DynamoDB table using event-based filters","json","Terraform",{"template":22},{"projectFolder":23,"repoURL":24,"templateURL":25,"templateFile":26},"dynamodb-streams-lambda-terraform","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fdynamodb-streams-lambda-terraform","serverless-patterns\u002Fdynamodb-streams-lambda-terraform","main.tf",{"headline":28,"text":29},"How it works",[30,31],"The Terraform template deploys a Lambda function, a DynamoDB table, and the minimum IAM resources required to run the application.","When items are written or updated in the DynamoDB table, the changes are sent to a stream. This pattern configures a Lambda function to poll this stream. The function is invoked with a payload containing the contents of the table item that changed.","Node.js","200",{},{"icon1":36,"icon2":41,"line1":45},{"x":37,"y":38,"service":39,"label":40},20,50,"dynamodb","Amazon DynamoDB",{"x":42,"y":38,"service":43,"label":44},80,"lambda","AWS Lambda",{"from":46,"to":47,"label":48},"icon1","icon2","",{"headline":50,"bullets":51},"Additional resources",[52,55],{"text":53,"link":54},"AWS Docs: DynamoDB Streams and AWS Lambda Triggers","https:\u002F\u002Fdocs.aws.amazon.com\u002Famazondynamodb\u002Flatest\u002Fdeveloperguide\u002FStreams.Lambda.html",{"text":56,"link":57},"Creating a scalable serverless import process for Amazon DynamoDB","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fcreating-a-scalable-serverless-import-process-for-amazon-dynamodb\u002F","patterns\u002Fdynamodb-lambda-filters-terraform",{"headline":60,"text":61},"Testing",[62],"See the GitHub repo for detailed testing instructions.","I7joUYkTCgxm6hOWuIy3CcYVjNmigrlOWK6mSyiM-nc",1779273334819]