In this step, we will create a DynamoDB table to store all the product data for the application. The table will serve as the primary database, enabling CRUD (Create, Read, Update, Delete) operations through the Lambda Function. Each product will be stored as an item in the table, with attributes such as ID, name, and price. The table will be configured to support efficient data retrieval and interaction through API Gateway and Lambda.
Table name: Table name: Enter a name for your table (e.g. ProductsTable
)
Partition Key: Enter the key named id
.
Key type: Select String for Partition key.
Scroll down and click Create table button to proceed.