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
已提問 1 年前檢視次數 966 次
2 個答案
2
已接受的答案

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
專家
已回答 1 年前
-1

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

AWS
已回答 1 年前

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

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

回答問題指南