Prototyping Queries in AWS AppSync

Ben Force
Towards AWS
Published in
2 min readJun 5, 2021

--

Did you know there’s a simple way to create mock responses for AWS AppSync queries? To accomplish this you just need to create the query, a special data source, and a resolver.

Define the Query

To keep things simple, we’re going to be prototyping the following graphql query.

--

--

I am a 5x AWS certified senior full-stack developer. I write about cloud architecture, infrastructure as code, and automation.