interface LogConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Events.CfnEventBus.LogConfigProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsevents#CfnEventBus_LogConfigProperty |
![]() | software.amazon.awscdk.services.events.CfnEventBus.LogConfigProperty |
![]() | aws_cdk.aws_events.CfnEventBus.LogConfigProperty |
![]() | aws-cdk-lib » aws_events » CfnEventBus » LogConfigProperty |
The logging configuration settings for the event bus.
For more information, see Configuring logs for event buses in the EventBridge User Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_events as events } from 'aws-cdk-lib';
const logConfigProperty: events.CfnEventBus.LogConfigProperty = {
includeDetail: 'includeDetail',
level: 'level',
};
Properties
Name | Type | Description |
---|---|---|
include | string | Whether EventBridge include detailed event information in the records it generates. |
level? | string | The level of logging detail to include. This applies to all log destinations for the event bus. |
includeDetail?
Type:
string
(optional)
Whether EventBridge include detailed event information in the records it generates.
Detailed data can be useful for troubleshooting and debugging. This information includes details of the event itself, as well as target details.
For more information, see Including detail data in event bus logs in the EventBridge User Guide .
level?
Type:
string
(optional)
The level of logging detail to include. This applies to all log destinations for the event bus.
For more information, see Specifying event bus log level in the EventBridge User Guide .