Amazon API Gateway HTTP API to Amazon EventBridge

API Gateway HTTP API → Amazon EventBridge

Create an HTTP API endpoint that directly integrates with Amazon EventBridge

This pattern creates an Amazon API Gateway HTTP 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

Variants

This pattern is available in the following frameworks/languages:

AWS SAM:JavaNode.js
Serverless Framework:TypeScript
Terraform:Python

Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/apigw-http-api-eventbridge/java/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"

Created by:

Steven Cook

Steven Cook

Senior Solutions Architect at AWS.