Skip to content
v2.274.0

Level Enum ​

The level of logging detail to include.

This applies to all log destinations for the event bus.

Example ​

ts
import { EventBus, IncludeDetail, Level } from 'aws-cdk-lib/aws-events';

const bus =  new EventBus(this, 'Bus', {
      logConfig: {
        includeDetail: IncludeDetail.FULL,
        level: Level.TRACE,
      },
    });

Members ​

MemberDescription
INFOINFO: EventBridge sends any logs related to errors, as well as major steps performed during event processing.
ERRORERROR: EventBridge sends any logs related to errors generated during event processing and target delivery.
TRACETRACE: EventBridge sends any logs generated during all steps in the event processing.
OFFOFF: EventBridge does not send any logs.

Referenced by ​