Partition Key (Hash Key)

A simple primary key that is composed of one attribute
It is used for distributing the data

Partition Key (Hash Key) + Sort Key (Range Key)

Also called as composite primary key. Consist of two attributes
First part is partition key and 2nd part is sort key
The combination must be unique