Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

DynamoDB Streams processing to AWS S3

A Lambda function triggered by a DynamoDB Stream that reads each changed record, unmarshalls it from DynamoDB's attribute-value shape, and writes it as JSON to S3 — a pattern you can adapt for change-data-capture, fan-out to other systems, or building a materialized view from table changes.

NOTE: DynamoDB triggers need to be manually associated / setup with the lambda function.

Upon deletion the image.json becomes an empty file, since REMOVE events carry no NewImage.

For pure backup needs, this is not the right tool: DynamoDB's built-in point-in-time recovery and native table export to S3 already cover that use case without any custom code.