Amazon DynamoDB · Arazzo Workflow
Amazon DynamoDB Drain and Delete a Table
Version 1.0.0
Scan a table, batch-delete its items, then drop the table.
Provider
Workflows
drain-and-delete-table
Scan, batch-delete items, and then delete the table.
Scans the table for the keys to remove, deletes them with BatchWriteItem, and finishes by calling DeleteTable.
1
scanKeys
scan
Scan the table to collect the keys of the items that need to be removed before the table can be deleted.
2
deleteItems
batchWriteItem
Batch-delete the scanned items to empty the table.
3
deleteTable
deleteTable
Delete the now-empty table; the response reports DELETING status.