Interface CfnStateMachine.LoggingConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStateMachine.LoggingConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnStateMachine
@Stability(Stable)
public static interface CfnStateMachine.LoggingConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Defines what execution history events are logged and where they are logged.
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
levelis set toOFF. For more information see Log Levels in the AWS Step Functions User Guide.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.stepfunctions.*;
LoggingConfigurationProperty loggingConfigurationProperty = LoggingConfigurationProperty.builder()
.destinations(List.of(LogDestinationProperty.builder()
.cloudWatchLogsLogGroup(CloudWatchLogsLogGroupProperty.builder()
.logGroupArn("logGroupArn")
.build())
.build()))
.includeExecutionData(false)
.level("level")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStateMachine.LoggingConfigurationPropertystatic final classAn implementation forCfnStateMachine.LoggingConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectAn array of objects that describes where your execution history events will be logged.default ObjectDetermines whether execution data is included in your log.default StringgetLevel()Defines which category of execution history events are logged.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestinations
An array of objects that describes where your execution history events will be logged.Limited to size 1. Required, if your log level is not set to
OFF.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnStateMachine.LogDestinationProperty>- See Also:
-
getIncludeExecutionData
Determines whether execution data is included in your log.When set to
false, data is excluded.Returns union: either
BooleanorIResolvable- See Also:
-
getLevel
Defines which category of execution history events are logged.- See Also:
-
builder
-