Course lesson

Add a GraphQL Subscription to an AWS AppSync API

AppSync supports GraphQL subscriptions out of the box! We don't even have to write custom code.

Duration
2 min
Access
Included
Transcript
Retained from source evidence

AppSync supports GraphQL subscriptions out of the box! We don't even have to write custom code.

All we have to do is create a Subscription type in our GraphQL schema with @aws_subscribe(), and pass that the mutation we want to subscribe to.