Skip to main content

event-bus

Overview of the event-bus module in the sst/node package.

import { ... } from "sst/node/event-bus"

The event-bus module has the following exports.


Properties

The properties let you access the resources that are bound to the function.


EventBus

This module helps with accessing EventBus constructs.

import { EventBus } from "sst/node/event-bus";

eventBusName

Type : string

The name of the EventBridge event bus.

console.log(EventBus.myBus.eventBusName);