Define an EventBridge EventBus.
import { EventBus } from 'aws-cdk-lib/aws-events';Or use the module namespace:
import * as events from 'aws-cdk-lib/aws-events';
// events.EventBusConfiguration passed to the constructor as EventBusProps.
deadLetterQueueOptionalIQueueDead-letter queue for the event bus.
Default: - no dead-letter queue
descriptionOptionalstringThe event bus description. The description can be up to 512 characters long.
Default: - no description
eventBusNameOptionalstringThe name of the event bus you are creating Note: If 'eventSourceName' is passed in, you cannot set this.
Default: - automatically generated name
eventSourceNameOptionalstringThe partner event source to associate with this event bus resource Note: If 'eventBusName' is passed in, you cannot set this.
Default: - no partner event source
kmsKeyOptionalIKeyThe customer managed key that encrypt events on this event bus.
Default: - Use an AWS managed key
logConfigOptionalLogConfigThe Logging Configuration of the Èvent Bus.
Default: - no logging
Everything you need to know about Amazon EventBridge on one page. HD quality, print-friendly.
Download Free Infographicaws-events