moto/moto/dynamodb/limits.py
2022-03-09 16:57:25 -01:00

6 lines
192 B
Python

# https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html#limits-partition-sort-keys
# measured in bytes
# <= not <
HASH_KEY_MAX_LENGTH = 2048
RANGE_KEY_MAX_LENGTH = 1024