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
level
is 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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnStateMachine.LoggingConfigurationProperty
static final class
An implementation forCfnStateMachine.LoggingConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
An array of objects that describes where your execution history events will be logged.default Object
Determines whether execution data is included in your log.default String
getLevel()
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
. -
getIncludeExecutionData
Determines whether execution data is included in your log.When set to
false
, data is excluded. -
getLevel
Defines which category of execution history events are logged. -
builder
-