Primary Key
When you create a table, you have to define a Primary Key.
The primary key determines where and how your data will be stored in partitions.
The primary key cannot be changed later.
Partition Key
Determines which partition data should be written to.
Sort Key
Determines how data should be sorted on a partition.
Using a Partition Key and Sort Key is called a Composite Primary Key.
Using only a Partition Key is called a Simple Primary Key.
Important Notes
DynamoDB doesn’t have a Date datatype; for dates, you have to use a string.