Skip to content
v2.273.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 ​

includeDetailIncludeDetailinclude_detailIncludeDetailincludeDetailIncludeDetailIncludeDetailIncludeDetailIncludeDetailIncludeDetail= no details#
Whether EventBridge include detailed event information in the records it generates.
levelLevellevelLevellevelLevelLevelLevelLevelLevel= OFF#
Logging level.