Status: IN
DynamoDB secondary index key attributes must be top-level scalar types (String, Number, or Binary) — document types and sets are not allowed as index keys.
Source: entries/2026/03/11/amazondynamodb-latest-developerguide-SecondaryIndexeshtml.md