amplify-category-api icon indicating copy to clipboard operation
amplify-category-api copied to clipboard

EventBridge supports AWS AppSync as a target

Open OperationalFallacy opened this issue 1 year ago • 6 comments

Is this feature request related to a new or existing Amplify category?

api, notifications

Is this related to another service?

EventBridge

Describe the feature you'd like to request

AppSync integrates with EventBridge well:

Amazon EventBridge now supports AWS AppSync as a target of EventBridge Buses https://aws.amazon.com/about-aws/whats-new/2024/01/amazon-eventbridge-appsync-target-buses/

https://serverlessland.com/patterns/appsync-eventbridge-cdk The other way around is also true, AppSync can publish to EventBridge

I'd like to publish events easily to EventBridge and subscribe to updates in the UI. This is particularly useful for workflows such as:

  1. Long-running tasks to show update progress or status (current has to be implemented via DDB updates)
  2. Scores, ticks, streaming updates are good candidates too

Describe the solution you'd like

Add or update models in the schema that allow to interact with EventBridge

Describe alternatives you've considered

Some CDK code and resolvers (resolvers are pretty much a none starter for me because of the weird syntax and updates workflow)

Additional context

No response

Is this something that you'd be interested in working on?

  • [ ] 👋 I may be able to implement this feature request

Would this feature include a breaking change?

  • [ ] ⚠️ This feature might incur a breaking change

OperationalFallacy avatar Feb 19 '24 22:02 OperationalFallacy