Is there a way to enforce unique constraint on a property (field) other than the primary key in dynamodb
In dynamodb, if you want to enforce uniqueness in a field other than the primary key (like were you have a users table and want unique email addresses for users while primary key is a userid which is a number) is there a way other thans scanning the table to see if the email is already in use? Short answer: No. DynamoDB is a key:value store. It is very good at quickly retrieving/saving Items because it does a couple of compromise. This is a constraint you have to handle yourself. Nonethess, depending on your actual model, it might be a good idea to use this field as you hash_key or consider