What are the main data types supported by DynamoDB?

Beginner

Answer

DynamoDB supports several data types:

Scalar Types:

  • String (S)
  • Number (N)
  • Binary (B)
  • Boolean (BOOL)
  • Null (NULL)

Collection Types:

  • String Set (SS)
  • Number Set (NS)
  • Binary Set (BS)
  • List (L) - ordered collection of values
  • Map (M) - unordered collection of key-value pairs