Interface SingleStateOptions

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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-27T16:51:05.951Z") @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")
         .stateName("stateName")
         .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