I'm looking at creating an Amazon DynamoDB table that uses user input as it's hash key. I'm concerned that an attacker could launch a denial of service attack by maliciously choosing keys that have the same hash so that lots of data is added to a single partition.
Amazon's article on partitions doesn't address this issue: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.Partitions.html
Here is an article describing this kind of attack: https://lwn.net/Articles/474912/
This question is sort of similar, but doesn't focus on security, and doesn't have an answer: Is it good to use user-input as partition key value in DynamoDB