Step 8: (Optional) clean up resources - Amazon DynamoDB
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

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:

  1. Open the DynamoDB console at https://console.amazonaws.cn/dynamodb/.

  2. In the navigation pane on the left side of the console, choose Tables.

  3. Choose the Music table from the table list.

  4. Choose the Indexes tab for the Music table.

  5. Choose Delete table.

    
                                Console screenshot showing the Delete table button.

The following Amazon CLI example deletes the Music table using delete-table.

aws dynamodb delete-table --table-name Music