Amazon DynamoDB · Arazzo Workflow
Amazon DynamoDB Add a Global Secondary Index and Wait
Version 1.0.0
Add a global secondary index to a table and poll until ACTIVE.
Provider
Workflows
create-index-and-wait
Add a global secondary index and wait for the table to return to ACTIVE.
Submits an UpdateTable request carrying a GlobalSecondaryIndexUpdates create action plus the new attribute definitions, then polls DescribeTable until TableStatus is ACTIVE again.
1
addIndex
updateTable
Submit the UpdateTable request that creates the new global secondary index and declares its key attributes.
2
waitForActive
describeTable
Poll DescribeTable until the table status returns to ACTIVE, looping while the index is still backfilling.