Interface CfnStateMachine.ILoggingConfigurationProperty
Defines what execution history events are logged and where they are logged.
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.AWS.StepFunctions.dll
Syntax (csharp)
public interface ILoggingConfigurationProperty
Syntax (vb)
Public Interface ILoggingConfigurationProperty
Remarks
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
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. |
Properties
Destinations
An array of objects that describes where your execution history events will be logged.
virtual object Destinations { get; }
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.
virtual object IncludeExecutionData { get; }
Property Value
System.Object
Remarks
Level
Defines which category of execution history events are logged.
virtual string Level { get; }
Property Value
System.String