Show / Hide Table of Contents

Class LogConfig

Interface for Logging Configuration of the Event Bus.

Inheritance
object
LogConfig
Implements
ILogConfig
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

IncludeDetail?

Remarks

Default: no details

Level

Logging level.

public Level? Level { get; set; }
Property Value

Level?

Remarks

Default: OFF

Implements

ILogConfig
Back to top Generated by DocFX