Amazon API Gateway HTTP API with custom domain to Amazon EventBridge

API Gateway HTTP API → Amazon EventBridge

Create an HTTP API endpoint with a custom domain that integrates with EventBridge

This pattern deploys an API Gateway HTTP API with a custom domain configuration and permissions to publish HTTP requests as an events to 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-eventbridge

Deploy

sam deploy --guided --capabilities CAPABILITY_NAMED_IAM


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:

Alexander Smirnoff

Alexander Smirnoff

Senior Software Engineer at Seven.One Entertainment Group | Syndication team.

Follow on LinkedIn