Prepare the Database
Explore how to set up and configure a DynamoDB table within an AWS Step Functions workflow for a serverless sweets factory project. Learn to define the primary key, provision throughput capacity, and deploy the database using the Serverless Framework. This lesson enables you to prepare and test a database that integrates smoothly with Lambda functions and Step Functions.
We'll cover the following...
We'll cover the following...
In our sweets factory scenario, we use DynamoDB to store the inventory of ingredients needed for sweets production. The table schema we'll create represents the inventory data and its structure.
We'll use one attribute called ingredient. This attribute represents the name of the ingredient in the inventory. It's used as the primary ...