How long data stays in DynamoDB Stream

Viewed 1923

I want to send data from DynamoDB to AWS Lambda, and to configure fault tolerance I am looking into the data retention.

As per AWS docs DDB Stream keeps data for 24 hours. However when we set the Trigger to AWS Lambda, we can set the data retention to 7 days. How is this possible?

When enabled, DynamoDB Streams captures a time-ordered sequence of item-level modifications in a DynamoDB table and durably stores the information for up to 24 hours.

DynamoDB Stream Docs

Enabling Trigger and Data Retention during Error

enter image description here

How can trigger have maximum age to 7 days when the source DDB Stream can only keep data for 24 hours?

0 Answers
Related