interface LogConfig
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Events.LogConfig |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsevents#LogConfig |
Java | software.amazon.awscdk.services.events.LogConfig |
Python | aws_cdk.aws_events.LogConfig |
TypeScript (source) | 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.

.NET
Go
Java
Python
TypeScript (