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();
 
  • Method Details

    • getDestination

      @Stability(Stable) @Nullable default ILogGroup getDestination()
      The log group where the execution history events will be logged.

      Default: - a new log group will be created

    • getIncludeExecutionData

      @Stability(Stable) @Nullable default Boolean getIncludeExecutionData()
      Determines whether execution data is included in your log.

      Default: - false

    • getLevel

      @Stability(Stable) @Nullable default LogLevel getLevel()
      Defines which category of execution history events are logged.

      Default: - ERROR

    • builder

      @Stability(Stable) static LogOptions.Builder builder()
      Returns:
      a LogOptions.Builder of LogOptions