Step 8: (Optional) clean up resources
If you no longer need the Amazon DynamoDB table that you created for the tutorial, you can
delete it. This step helps ensure that you aren't charged for resources that you aren't
using. You can use the DynamoDB console or the Amazon CLI to delete the Music
table
that you created in Step 1: Create a table.
For more information about table operations in DynamoDB, see Working with tables and data in DynamoDB.
To delete the Music
table using the console:
Open the DynamoDB console at https://console.amazonaws.cn/dynamodb/
. -
In the left navigation pane, choose Tables.
-
Choose the checkbox beside the Music table in the table list.
-
Choose Delete.
The following Amazon CLI example deletes the Music
table using
delete-table
.
aws dynamodb delete-table --table-name Music