Whichever attributes you need to query on needs to be made a GSI - You can add upto 5 of them. You need to also pay attention to the kind of queries it support (Only these: EQ | LE | LT | GE | GT | BEGINS_WITH | BETWEEN)
If your need is more than these queries, the Dynamo cant help - May be need to switch to RDS. If they can be formulated as documents, then consider Cloudsearch.