This examples shows your how to create a backup of your DynamoDB table to S3.

DynamoDB stream events to AWS S3

Which effectively creates a backup of your dynamoDB table assuming an event was caught for every record. Hint: Introduce a new field "backedup" to effectively trigger a backup.

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

Upon deletion the image.json becomes an empty file.