serverless-apigateway-eventbridge-proxy

0.0.1 • Public • Published

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'

Readme

Keywords

none

Package Sidebar

Install

npm i serverless-apigateway-eventbridge-proxy

Weekly Downloads

55

Version

0.0.1

License

ISC

Unpacked Size

18.2 kB

Total Files

9

Last publish

Collaborators

  • c4e