Listen to Eventbridge events from an AppSync subscription
This pattern shows how to create an AppSync API that allows you to listen to events going into an Eventbridge event bus.
This pattern is especially useful if you want your frontend users to be aware of changes happening in your backend. Those events coming in your event bus can either be pushed as custom events or can come from AWS services.