Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.12 KB

File metadata and controls

42 lines (33 loc) · 1.12 KB

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