Ravi Sir's Cards › AWS
GetItem or Scan to resolve a short code?
What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.
Read card text
What this card says
What it is
Always GetItem by partition key shortCode. Scan would read the whole table.
Why it matters
Shortener traffic is a classic single-key lookup pattern.
How / example
PK shortCode String; GetItem Key={shortCode: code} in under 10 ms typically.