DynamoDB - Delete Table

DynamoDB - Delete Table

In this chapter, we will discuss how we can drop a table as well as different ways to drop a table.

Deleting a table is a simple operation that requires little more than the table name. Use the GUI console, Java, or any other option to complete this task.

Delete table using GUI console

Perform the delete operation by first accessing the console at −

https://console.aws.amazon.com/dynamodb .

Select Tables from the navigation bar and select the table you want to delete from the list of tables as shown in the following screenshot.

Delete table using GUI console

Finally, select Delete Table . After selecting Delete Table, a confirmation appears. Your table will be deleted.

Delete table using Java

Use the delete method to drop the table. Below is an example to better explain the concept.