Skip to content

This Serverless Framewrok plugin supports the AWS EventBridge proxy integration feature of API Gateway.

Notifications You must be signed in to change notification settings

c4e/serverless-apigateway-eventbridge-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless Eventbridge Cross Organization


This Serverless Framewrok plugin supports the AWS EventBridge proxy integration feature of API Gateway.

Installation

Install the package with npm: npm install serverless-apigateway-eventbridge-proxy, and add it to your serverless.yml plugins list:

plugins:
  - serverless-apigateway-eventbridge-proxy

Usage

custom:
  apiGatewayEventbridgeProxies:
    - path: /eventbridge
      method: post
      source: 'hardcoded_source'
      detailType: 'hardcoded_detailType'
      eventBusName: 'default'

Sample request after deploying.

curl https://company/eventbridge?detailType=type -d '{"message": "some data"}'  -H 'Content-Type:application/json'

About

This Serverless Framewrok plugin supports the AWS EventBridge proxy integration feature of API Gateway.

Resources

Stars

Watchers

Forks

Packages

No packages published