Interface SingleStateOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, ParallelProps
All Known Implementing Classes:
SingleStateOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.930Z") @Stability(Stable) public interface SingleStateOptions extends software.amazon.jsii.JsiiSerializable, ParallelProps
Options for creating a single state.

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.*;
 Object resultSelector;
 SingleStateOptions singleStateOptions = SingleStateOptions.builder()
         .comment("comment")
         .inputPath("inputPath")
         .outputPath("outputPath")
         .prefixStates("prefixStates")
         .resultPath("resultPath")
         .resultSelector(Map.of(
                 "resultSelectorKey", resultSelector))
         .stateId("stateId")
         .build();
 
  • Method Details

    • getPrefixStates

      @Stability(Stable) @Nullable default String getPrefixStates()
      String to prefix all stateIds in the state machine with.

      Default: stateId

    • getStateId

      @Stability(Stable) @Nullable default String getStateId()
      ID of newly created containing state.

      Default: Construct ID of the StateMachineFragment

    • builder

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