Amazon DynamoDB now supports empty values for non-key String and Binary attributes in DynamoDB tables

Posted on: May 18, 2020

Amazon DynamoDB now supports empty values for non-key String and Binary attributes in DynamoDB tables. Empty value support gives you greater flexibility to use attributes for a broader set of use cases without having to transform such attributes before sending them to DynamoDB. List, Map, and Set data types also support empty String and Binary values. 

Partition key and sort key attributes of base tables continue to require non-empty values for all data types, including String and Binary. Similarly, String and Binary key attributes of local secondary indexes or global secondary indexes also require non-empty values.  

For more information, see API Reference: Put Item in the DynamoDB Developer Guide.