Interface LogOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LogOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)",
date="2024-08-15T01:32:56.562Z")
@Stability(Stable)
public interface LogOptions
extends software.amazon.jsii.JsiiSerializable
Log Options for the state machine.
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.logs.*; import software.amazon.awscdk.services.stepfunctions.*; import software.amazon.awscdk.customresources.*; LogGroup logGroup; LogOptions logOptions = LogOptions.builder() .destination(logGroup) .includeExecutionData(false) .level(LogLevel.OFF) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forLogOptions
static final class
An implementation forLogOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic LogOptions.Builder
builder()
default ILogGroup
The log group where the execution history events will be logged.default Boolean
Determines whether execution data is included in your log.default LogLevel
getLevel()
Defines which category of execution history events are logged.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestination
The log group where the execution history events will be logged.Default: - a new log group will be created
-
getIncludeExecutionData
Determines whether execution data is included in your log.Default: - false
-
getLevel
Defines which category of execution history events are logged.Default: - ERROR
-
builder
- Returns:
- a
LogOptions.Builder
ofLogOptions
-