Use AWS AppSync JS resolvers to query an Amazon DynamoDB table using single table design.
This sample project creates an AppSync API with a schema and a JavaScript pipeline resolver to query a DynamoDB table following a single table design model.
Using JS pipeline resolvers can help you easily transform your query to retrieve nested records in your DynamoDB table in a single API call.