Understanding DynamoDB advanced features
DynamoDB has several additional features that can be used to help support auditing and compliance requirements. Often, companies have a requirement to audit all changes made to database tables, especially the ones containing personally identifiable information (PII) such as customer names and addresses. These are the three tools that can be used:
- DynamoDB Streams
- CloudTrail
- Time to live (TTL)
Additionally, for some very large (multi-TB) datasets or applications needing extremely fast microsecond response times, they can consider using DynamoDB Accelerator (DAX).
Let's start by looking at DynamoDB Streams and how it can be used for auditing purposes and to trigger other actions.
DynamoDB Streams
DynamoDB Streams is a time-ordered sequence of events affecting the items in your DynamoDB table. This includes inserts, deletes, and updates. The changes are written to a log, which can then be read and used by other...