DynamoDB lets you create additional indexes so that you can run queries to search your data by other attributes, but it important to remember that Dynamo Indexes work quite differently from those in Relational Database ( and that you have to run your query against that index ).
Secondary Index can be Local (used in association with a single partition key) or Global ( let you query across the entire table).