Tagging implementation in Dynamodb


I’m trying to design a table optimized for tag-searching. My initial design for my table is to have a set field for the list of tags, but I have no idea how to optimized it for querying. I’m aware that only top-level elements can be indexed and I can’t find any good resources or examples on tagging implementation on Dynamodb.