From AWS DynamoDB documentation:
If you define a primary key attribute as a string type attribute, the following additional constraints apply:
- For a simple primary key, the maximum length of the first attribute value (the partition key) is 2048 bytes.
- For a composite primary key, the maximum length of the second attribute value (the sort key) is 1024 bytes.
Does it mean that in case of a composite primary key, the maximum length of the partition key is not limited?
(There is a general 400 KB per item size limit, but the question is not about that)