Skip to content

Serverless plugin to allow send and receive events cross organization

Notifications You must be signed in to change notification settings

c4e/serverless-events-cross-organization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js Package

Serverless Eventbridge Cross Organization


Add roles, rules, policies to send and receive events cross organization

Installation

Install the package with npm: npm install serverless-events-cross-organization, and add it to your serverless.yml plugins list:

plugins:
  - serverless-events-cross-organization

Usage

custom:
  eventBridgeCrossOrganization:
    sendEvents:
      - targetAccountId: "3045131172291"
        region: 'eu-central-1'
        pattern:
          source: 
            - "company.service"
    receiveEvents:
      statementId: "unique-statement-id"
      organizationId: "o-x09ij3ysgl"
Parameter Name Type Description
sendEvents Array List of accounts
pattern (required) Object Pattern to filter events
source (required) Array List of sources to filter
receiveEvents Object Options to allow receive events
organizationId (required) String Organization Id

About

Serverless plugin to allow send and receive events cross organization

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published