Amazon API Gateway REST API to Amazon EventBridge

API Gateway REST API → Amazon EventBridge

Create an REST API endpoint that directly integrates with Amazon EventBridge

This pattern creates an Amazon API gateway REST API endpoint. The endpoint uses service integrations to directly connect to Amazon EventBridge.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Launch Stack

Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/apigw-rest-api-eventbridge-sam

Deploy

sam deploy --guided


Testing

See testing in the README.md file in the repo

Cleanup

1. Delete the stack: sam delete --stack-name STACK_NAME.
2. Confirm the stack has been deleted: aws cloudformation list-stacks --query "StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus"

Additional resources

Created by:

Uma Ramadoss

Uma Ramadoss

Solutions Architect @ AWS.