Interface ILogOptions
Log Options for the state machine.
Namespace: Amazon.CDK.CustomResources
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ILogOptions
Syntax (vb)
Public Interface ILogOptions
Remarks
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.Logs;
using Amazon.CDK.AWS.StepFunctions;
using Amazon.CDK.CustomResources;
LogGroup logGroup;
var logOptions = new LogOptions {
Destination = logGroup,
IncludeExecutionData = false,
Level = LogLevel.OFF
};
Synopsis
Properties
Destination | The log group where the execution history events will be logged. |
Include |
Determines whether execution data is included in your log. |
Level | Defines which category of execution history events are logged. |
Properties
Destination
The log group where the execution history events will be logged.
virtual ILogGroup Destination { get; }
Property Value
Remarks
Default: - a new log group will be created
IncludeExecutionData
Determines whether execution data is included in your log.
virtual Nullable<bool> IncludeExecutionData { get; }
Property Value
System.
Remarks
Default: - false
Level
Defines which category of execution history events are logged.
virtual Nullable<LogLevel> Level { get; }
Property Value
System.
Remarks
Default: - ERROR