Reputation: 198
If the dynamodb TTL set to 1 min from the current time and if we perform some operation on that row(active item)...will it delete the item anyway after 1 min?
Upvotes: 1
Views: 589
Reputation: 238169
TTL is an attribute with timestamp. Only when your update extends the timestamp, you can change TTL expiration. Updating other attributes of an item does not affect TTL.
But anyway, TTL can take up to 48 hours to delete your item, so do not rely on a period of 1 min. From docs:
TTL typically deletes expired items within 48 hours of expiration.
Upvotes: 5