Class LogConfig
Interface for Logging Configuration of the Event Bus.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LogConfig : ILogConfig
Syntax (vb)
Public Class LogConfig Implements ILogConfig
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.Events;
var bus = new EventBus(this, "Bus", new EventBusProps {
LogConfig = new LogConfig {
IncludeDetail = IncludeDetail.FULL,
Level = Level.TRACE
}
});
Synopsis
Constructors
| LogConfig() | Interface for Logging Configuration of the Event Bus. |
Properties
| IncludeDetail | Whether EventBridge include detailed event information in the records it generates. |
| Level | Logging level. |
Constructors
LogConfig()
Interface for Logging Configuration of the Event Bus.
public LogConfig()
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.Events;
var bus = new EventBus(this, "Bus", new EventBusProps {
LogConfig = new LogConfig {
IncludeDetail = IncludeDetail.FULL,
Level = Level.TRACE
}
});
Properties
IncludeDetail
Whether EventBridge include detailed event information in the records it generates.
public IncludeDetail? IncludeDetail { get; set; }
Property Value
Remarks
Default: no details