Interface PassProps

All Superinterfaces:
AssignableStateOptions, software.amazon.jsii.JsiiSerializable, JsonataCommonOptions, JsonPathCommonOptions, StateBaseProps
All Known Implementing Classes:
PassProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-07-24T11:33:23.844Z") @Stability(Stable) public interface PassProps extends software.amazon.jsii.JsiiSerializable, StateBaseProps, AssignableStateOptions, JsonPathCommonOptions, JsonataCommonOptions
Properties for defining a Pass state.

Example:

 // JSONata Pattern
 Pass.jsonata(this, "JSONata Pattern", PassJsonataProps.builder()
         .outputs(Map.of("foo", "bar"))
         .build());
 // JSONPath Pattern
 Pass.jsonPath(this, "JSONPath Pattern", PassJsonPathProps.builder()
         // The outputs does not exist in the props type
         // outputs: { foo: 'bar' },
         .outputPath("$.status")
         .build());
 // Constructor (Legacy) Pattern
 // Constructor (Legacy) Pattern
 Pass.Builder.create(this, "Constructor Pattern")
         .queryLanguage(QueryLanguage.JSONATA) // or JSON_PATH
         // Both outputs and outputPath exist as prop types.
         .outputs(Map.of("foo", "bar")) // For JSONata
         // or
         .outputPath("$.status")
         .build();