Skip to content
v2.274.0

LogConfig Struct ​

Interface for Logging Configuration of 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,
      },
    });

Properties ​

includeDetailoptionalIncludeDetailinclude_detailoptionalIncludeDetailincludeDetailoptionalIncludeDetailIncludeDetailoptionalIncludeDetailIncludeDetailoptionalIncludeDetail#
Whether EventBridge include detailed event information in the records it generates.

Default: no details

leveloptionalLevelleveloptionalLevelleveloptionalLevelLeveloptionalLevelLeveloptionalLevel= OFF#
Logging level.