Reputation: 259
Is there a possibility to access (get/put/delete) items of a DynamoDB table using the Global Secondary Indexes (GSI)? So far, I only see the possiblity of querying over a GSI.
Upvotes: 2
Views: 1479
Reputation: 19728
You can use the Query operation to access one or more items in a global secondary index.
DynamoDB GSI's allows query and scan operations. Other operations such as put, delete and get is not directly possible on top of the index. Rather you can do the action on the original table (e.g delete) which will reflect in the index.
Upvotes: 3