Change projected attributes to existing GSI without delete and recreate in DynamoDB?

0

Is it possible to change projected attributes in an existing GSI in-place without delete and recreate?

AWS
gefragt vor einem Jahr967 Aufrufe
2 Antworten
2
Akzeptierte Antwort

Unfortunately not, to change projected attributes you must create a new index, this remains true even if you would only like to add an extra attribute to INCLUDE projection.

profile pictureAWS
EXPERTE
beantwortet vor einem Jahr
-1

GSIs are read-only. You have to change the item in the base table and have it propagate into the GSI.

AWS
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen