eventBridgeAdapter
eventBridgeAdapter<
TEventMap>(router,options?): (event,context) =>Promise<void>
Defined in: eventbridge/src/index.ts:22
Creates an AWS Lambda handler for processing webhook events from EventBridge
Note: EventBridge events don’t require signature verification as AWS guarantees the authenticity of events delivered through EventBridge.
Type Parameters
Section titled “Type Parameters”TEventMap
Section titled “TEventMap”TEventMap extends Record<string, WebhookEvent>
Parameters
Section titled “Parameters”router
Section titled “router”WebhookRouter<TEventMap>
The WebhookRouter instance
options?
Section titled “options?”EventBridgeAdapterOptions = {}
Adapter options
Returns
Section titled “Returns”Lambda handler function
(
event,context):Promise<void>
Parameters
Section titled “Parameters”EventBridgeEvent<string, unknown>
context
Section titled “context”Context
Returns
Section titled “Returns”Promise<void>