tableNamestringrequired
The name of the DynamoDB table
keyConditionExpressionstringrequired
Condition expression for the partition key (e.g., pk = :pk AND sk > :sk)
expressionAttributeValuesstringrequired
JSON object mapping expression attribute values (e.g., {":pk": "value", ":sk": "value"})
expressionAttributeNamesstring
JSON object mapping expression attribute names (e.g., {"#n": "name"})
filterExpressionstring
Optional filter expression to apply after the query (e.g., #attr > :val)
indexNamestring
Name of a Global Secondary Index (GSI) or Local Secondary Index (LSI) to query
limitnumber
Maximum number of items to evaluate (not necessarily returned)
exclusiveStartKeystring
JSON string of the primary key of the first item to evaluate (for pagination)
scanIndexForwardboolean
Whether to scan the index in ascending order (default: true)
Default true
projectionExpressionstring
Expression to specify which attributes to retrieve (e.g., id, name)
consistentReadboolean
Whether to perform a strongly consistent read (default: false)
Default false