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.
 
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();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStateMachine.LoggingConfigurationPropertystatic final classAn implementation forCfnStateMachine.LoggingConfigurationProperty
- 
Method SummaryModifier 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- 
getDestinationsAn 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.
- 
getIncludeExecutionDataDetermines whether execution data is included in your log.When set to false, data is excluded.
- 
getLevelDefines which category of execution history events are logged.
- 
builder
 
-