interface LogConfig
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Events.LogConfig |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsevents#LogConfig |
![]() | software.amazon.awscdk.services.events.LogConfig |
![]() | aws_cdk.aws_events.LogConfig |
![]() | aws-cdk-lib » aws_events » LogConfig |
Interface for Logging Configuration of the Event Bus.
Example
import { EventBus, IncludeDetail, Level } from 'aws-cdk-lib/aws-events';
const bus = new EventBus(this, 'Bus', {
logConfig: {
includeDetail: IncludeDetail.FULL,
level: Level.TRACE,
},
});
Properties
Name | Type | Description |
---|---|---|
include | Include | Whether EventBridge include detailed event information in the records it generates. |
level? | Level | Logging level. |
includeDetail?
Type:
Include
(optional, default: no details)
Whether EventBridge include detailed event information in the records it generates.
level?
Type:
Level
(optional, default: OFF)
Logging level.