Creating a DynamoDB Table
In this hands-on lab, we will create a DynamoDB table to store pet inventory data. In the scenario, the data architect on the team has requested a table definition with a partition key of
pet_species with the data type
String, a sort key of
pet_id with the data type
Number, and that the table be named
PetInventory. Because the workload in development is not known,
On-Demand provisioning should be utilized. We're free to create the table with any method we choose (web console, CLI/SDK, CloudFormation).