Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(appsync): L2 construct for EventBridge DataSource. #25369

Merged
merged 11 commits into from
May 3, 2023

Conversation

postsa
Copy link
Contributor

@postsa postsa commented Apr 28, 2023

Adds an L2 EventBridge data source to AppSync.

Closes #24809.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link

gitpod-io bot commented Apr 28, 2023

@aws-cdk-automation aws-cdk-automation requested a review from a team April 28, 2023 23:18
@github-actions github-actions bot added beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK p2 labels Apr 28, 2023
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.

A comment requesting an exemption should contain the text Exemption Request. Additionally, if clarification is needed add Clarification Request to a comment.

@github-actions github-actions bot added effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. labels Apr 28, 2023
@andres-sinapsis
Copy link

Looks really good to me, hoping to have this soon!

@aws-cdk-automation aws-cdk-automation dismissed their stale review May 1, 2023 18:04

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

@postsa postsa force-pushed the event-bridge-l2-construct branch from a2d08a6 to 7d37b51 Compare May 1, 2023 18:08
@mtliendo
Copy link

mtliendo commented May 1, 2023

Thanks so much @postsa for taking this on and having this close my issue/PR! Would love to give you a shoutout on Twitter/LinkedIn if you want to drop it here. Also next time I'm in Denver, 🍺 on me!

@postsa postsa force-pushed the event-bridge-l2-construct branch from ada7b42 to 3d7637a Compare May 2, 2023 15:58
Copy link
Contributor

@MrArnoldPalmer MrArnoldPalmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API is looking good to me. Some minor docs requests.

@@ -232,6 +232,83 @@ httpDs.createResolver('MutationCallStepFunctionResolver', {
});
```

### EventBridge

GraphQL schema file `schema.graphql`:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not being familiar with the event bridge integration, based on the mapping templates/schema, it looks like most of these types are just raw inputs/outputs from event bridge. Can we explain that in the docs a little bit?

@@ -232,6 +232,83 @@ httpDs.createResolver('MutationCallStepFunctionResolver', {
});
```

### EventBridge
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add 1 or 2 sentences saying when using event bridge + appsync is beneficial. A general use case etc?

We are probably missing these for other integrations but still a good thing to add.

@postsa postsa force-pushed the event-bridge-l2-construct branch from 3d7637a to a69871b Compare May 2, 2023 23:04
@mergify mergify bot dismissed MrArnoldPalmer’s stale review May 2, 2023 23:05

Pull request has been modified.

@postsa postsa requested a review from MrArnoldPalmer May 2, 2023 23:05
@postsa
Copy link
Contributor Author

postsa commented May 2, 2023

@MrArnoldPalmer I took a crack at those README updates. Thanks for the suggestions.

Copy link
Contributor

@MrArnoldPalmer MrArnoldPalmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@mergify
Copy link
Contributor

mergify bot commented May 3, 2023

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: ef726fe
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit a0ad49d into aws:main May 3, 2023
@mergify
Copy link
Contributor

mergify bot commented May 3, 2023

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AWS AppSync: add EventBridge as L2 datasource
5 participants