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.

已提問 1 年前檢視次數 219 次
1 個回答
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
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南