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.

preguntada hace un año220 visualizaciones
1 Respuesta
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
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas