DynamoDB currently supports following list of data types:
Can be positive, negative or zero. Keep in mind that trailing and leading zeros are removed. Numbers can be also used to represent the date using Epoch format. It's using less storage and might be easier to parse from your application.
DynamoDB supports UTF-8 binary encoded strings which length is limited by the maximum item size which is 400 KB. If String is used as primary key, then the length of it is limited to 2048 bytes for single key and 1024 bytes for composite key.
Just like with Strings, binary length is limited by the maximum item size which is 400 KB. Binaries must be encoded using base64 before being sent to DynamoDB. Binary types can also be used for keys and they have same length restriction rules as Strings.
Represents unknown or undefined value.
An equivalent of JS Array which can store multiple items of different types.
Map is JSON like structure of unordered key-value pairs. Similarily to list, Map can contain mixed types elements.
StringSet [SS], BinarySet [BS] and NumberSet [NS]
DynamoDB supports multiple types of Sets where unlike Lists, all the elements within a set must be of the same type and all the elements must be also unique. Another difference between Set and List is that Set does not perserve the sequence of elements. BinarySet can only contain Binary elements, NumberSet can only contain Numbers and StringSet can only contain Strings.
© 2020 Dynobase