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 to OFF . 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: