Interface PassJsonataProps
- All Superinterfaces:
AssignableStateOptions,software.amazon.jsii.JsiiSerializable,JsonataCommonOptions,StateBaseProps
- All Known Implementing Classes:
PassJsonataProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:41:01.492Z")
@Stability(Stable)
public interface PassJsonataProps
extends software.amazon.jsii.JsiiSerializable, StateBaseProps, AssignableStateOptions, JsonataCommonOptions
Properties for defining a Pass state that using JSONata.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forPassJsonataPropsstatic final classAn implementation forPassJsonataProps -
Method Summary
Static MethodsMethods inherited from interface software.amazon.awscdk.services.stepfunctions.AssignableStateOptions
getAssignMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.stepfunctions.JsonataCommonOptions
getOutputsMethods inherited from interface software.amazon.awscdk.services.stepfunctions.StateBaseProps
getComment, getQueryLanguage, getStateName
-
Method Details
-
builder
- Returns:
- a
PassJsonataProps.BuilderofPassJsonataProps
-