Interface ChoiceProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ChoiceProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.897Z") @Stability(Stable) public interface ChoiceProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a Choice 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.*;
 ChoiceProps choiceProps = ChoiceProps.builder()
         .comment("comment")
         .inputPath("inputPath")
         .outputPath("outputPath")
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for ChoiceProps
    static final class 
    An implementation for ChoiceProps
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default String
    An optional description for this state.
    default String
    JSONPath expression to select part of the state to be the input to this state.
    default String
    JSONPath expression to select part of the state to be the output to this state.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getComment

      @Stability(Stable) @Nullable default String getComment()
      An optional description for this state.

      Default: No comment

    • getInputPath

      @Stability(Stable) @Nullable default String getInputPath()
      JSONPath expression to select part of the state to be the input to this state.

      May also be the special value DISCARD, which will cause the effective input to be the empty object {}.

      Default: $

    • getOutputPath

      @Stability(Stable) @Nullable default String getOutputPath()
      JSONPath expression to select part of the state to be the output to this state.

      May also be the special value DISCARD, which will cause the effective output to be the empty object {}.

      Default: $

    • builder

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