concept
DynamoDB partition and sort keys
A composite key identifies an item by the combination of two scalar key attributes. Choose keys from access patterns; avoid concentrating all traffic on one logical key.
Formal Syntax & Structure
aws syntaxaws
PK + SK → unique itemWorking Example
Example Snippetaws
PK=USER#12, SK=CART#B02