How to use DynamoDB Stream to trigger events nearly real-time data when DynamoDB table items are changed

Using Amazon DynamoDB and Amazon DynamoDB Stream can be a very nice way to track all events happing in a single DynamoDB table if you need to do something on it, can be a way around inner joins, dump backup of all entries into a version database, S3 bucket or what else you can think about here, it's only your free mind there stop you to use it, but think about what you can use it to before you just enable, it have a cost-price to write and read from the DynamoDB Stream it's not high but no reason to pay if you did not need it.

How DynamoDB Streams are working

DynamoDB Streams can be used to get notifications about events inside your DynamoDB like Create, Update and Delete. DynamoDB Stream using Kinies under the hood and you can add this DynomoDB Stream with event bridge to a Lambda function to handle the events from your DynamoDB.

You have the option to add a Dead Letter Queue (DLQ) to your event source mapping on Lambda to handle failure into a Simple Queue Service (SQS) when you have errors in your Lambda function there are not…

--

--

Paris Nakita Kejser
DevOps Engineer, Software Architect and Software Developering

DevOps Engineer, Software Architect, Software Developer, Data Scientist and identify me as a non-binary person.