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.

demandé il y a un an219 vues
1 réponse
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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions