Skip to content

Serverless Event Gateway Pattern: Internal Event-Driven system with API GW to external customers

Notifications You must be signed in to change notification settings

jojo786/aws-serverless-event-gw

Repository files navigation

aws-serverless-event-gw

HOW TO INTEGRATE YOUR AWS EVENT-BASED SYSTEM WITH EXTERNAL/LEGACY SYSTEMS USING RESTFUL API

Read the Blog Post

architecture

How to run it

sam build
sam deploy --guided

For future deploys, you can just run:

sam build && sam deploy

To Test

  • Injest an event into EventBridge with aws events put-events --entries file://event.json, which will save it to DynamoDB, and post it to the APIDestination
  • Retrieve the event from API Gateway with curl https://{APIGW}.amazonaws.com/Prod/request/123456789 -H "x-api-key: {APIKEY}" where you replace the correct values for the APIGW and APIKEY

About

Serverless Event Gateway Pattern: Internal Event-Driven system with API GW to external customers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages