Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

When is DynamoDB TTL better than a cleanup Lambda?

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

When is DynamoDB TTL better than a cleanup Lambda? When you only need eventual delete by an expiresAt epoch and no extra archive logic. TTL is free background deletion; not a precise alarm clock. Session tokens: set expiresAt=now+900 and enable TTL on that attribute.
When is DynamoDB TTL better than a cleanup Lambda? · Download PNG
Read card text

What this card says

What it is

When you only need eventual delete by an expiresAt epoch and no extra archive logic.

Why it matters

TTL is free background deletion; not a precise alarm clock.

How / example

Session tokens: set expiresAt=now+900 and enable TTL on that attribute.

See all AWS revision cards