General guidelines for secondary indexes in DynamoDB
Amazon DynamoDB supports two types of secondary indexes: Global secondary index (GSI)— An index with a partition key and a sort key that can be different from those on the base table. A global secondary index is considered "global" because queries on the index can span all of the data in the base table, across all partitions.