Class CfnEventBus.LogConfigProperty
The logging configuration settings for the event bus.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnEventBus.LogConfigProperty : CfnEventBus.ILogConfigProperty
Syntax (vb)
Public Class CfnEventBus.LogConfigProperty Implements 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
Constructors
| LogConfigProperty() | The logging configuration settings for the event bus. |
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. |
Constructors
LogConfigProperty()
The logging configuration settings for the event bus.
public LogConfigProperty()
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"
};
Properties
IncludeDetail
Whether EventBridge include detailed event information in the records it generates.
public string? IncludeDetail { get; set; }
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.
public string? Level { get; set; }
Property Value
Remarks
For more information, see Specifying event bus log level in the EventBridge User Guide .