AutoDetectIndex
A boolean indicating if secondary indexes should be automatically detected based on the query used.
Data Type
bool
Default Value
true
Remarks
In DynamoDB, secondary indexes can be used to more quickly select data from a given table. By default, we attempt to automatically detect an index to use based on the query criteria. However, this may not always be desirable. To turn off index detecting logic, simply set the property to false or if you have control over the query and would prefer to specify the index yourself, simply use the SecondaryIndexName pseudo column to specify which index to use (if any).