Interface CfnEventBus.ILogConfigProperty
The logging configuration settings for the event bus.
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnEventBus.ILogConfigProperty
Syntax (vb)
Public Interface CfnEventBus.ILogConfigProperty
Remarks
For more information, see Configuring logs for event buses in the EventBridge User Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Events;
var logConfigProperty = new LogConfigProperty {
IncludeDetail = "includeDetail",
Level = "level"
};
Synopsis
Properties
| IncludeDetail | Whether EventBridge include detailed event information in the records it generates. |
| Level | The level of logging detail to include. This applies to all log destinations for the event bus. |
Properties
IncludeDetail
Whether EventBridge include detailed event information in the records it generates.
string? IncludeDetail { get; }
Property Value
Remarks
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
The level of logging detail to include. This applies to all log destinations for the event bus.
string? Level { get; }
Property Value
Remarks
For more information, see Specifying event bus log level in the EventBridge User Guide .