serverless-events-cross-organization
v1.0.17-beta
Published
Add roles, rules, policies to send and receive events cross organization
Downloads
72
Readme
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-organizationUsage
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 |
