Skip to content

aws_events_targets: Support AppSync GraphQL targets #29884

@thelegendtubaguy

Description

@thelegendtubaguy

Describe the feature

EventBridge now supports setting rule targets to an AppSync API:
https://aws.amazon.com/blogs/compute/build-real-time-applications-with-amazon-eventbridge-and-aws-appsync/

I would like to use CDK to configure my event bus rule to target an appsync api mutation.

Use Case

When using an event based architecture, it would be extremely beneficial to route events matching a pattern to any number of subscribed clients to a graphql api.

Proposed Solution

CloudFormation already has this capability, so potentially follow what you can do in CF.
https://serverlessland.com/patterns/eventbridge-to-appsync-sam

Other Information

Will also need the ability to set the input transformer and pass appsync parameters.

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.137.0

Environment details (OS name and version, etc.)

Typescript 5.4.5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions