In their documentation AWS says about KeyConditionExpression for queries :
The condition can optionally perform one of several comparison tests on a single s