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.

posta un anno fa220 visualizzazioni
1 Risposta
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
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande