Class CfnStateMachine.LoggingConfigurationProperty
Defines what execution history events are logged and where they are logged.
Inheritance
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LoggingConfigurationProperty : Object, CfnStateMachine.ILoggingConfigurationProperty
Syntax (vb)
Public Class LoggingConfigurationProperty
Inherits Object
Implements CfnStateMachine.ILoggingConfigurationProperty
Remarks
Step Functions provides the log levels — OFF
, ALL
, ERROR
, and FATAL
. No event types log when set to OFF
and all event types do when set to ALL
.
By default, the level
is set to OFF
. For more information see Log Levels in the AWS Step Functions 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.StepFunctions;
var loggingConfigurationProperty = new LoggingConfigurationProperty {
Destinations = new [] { new LogDestinationProperty {
CloudWatchLogsLogGroup = new CloudWatchLogsLogGroupProperty {
LogGroupArn = "logGroupArn"
}
} },
IncludeExecutionData = false,
Level = "level"
};
Synopsis
Constructors
LoggingConfigurationProperty() |
Properties
Destinations | An array of objects that describes where your execution history events will be logged. |
IncludeExecutionData | Determines whether execution data is included in your log. |
Level | Defines which category of execution history events are logged. |
Constructors
LoggingConfigurationProperty()
public LoggingConfigurationProperty()
Properties
Destinations
An array of objects that describes where your execution history events will be logged.
public object Destinations { get; set; }
Property Value
System.Object
Remarks
Limited to size 1. Required, if your log level is not set to OFF
.
IncludeExecutionData
Determines whether execution data is included in your log.
public object IncludeExecutionData { get; set; }
Property Value
System.Object
Remarks
Level
Defines which category of execution history events are logged.
public string Level { get; set; }
Property Value
System.String