DynamoDB TTL on item collections

0

hello, I would like to know how TTL column works in case we are working with item collections. For example, if wanted to add a TTL column to this schema, I'm not sure about how to share the same value across all the records related to the same PK.

Enter image description here

Thanks.

asked a year ago213 views
1 Answer
1

A TTL is associated with a single item, never an item collection. You'll need to add a TTL attribute on each item.

AWS
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions