ParallelJsonataProps Struct
Properties for defining a Parallel state that using JSONata.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions as stepfunctions } from 'aws-cdk-lib';
declare const arguments_: any;
declare const assign: any;
declare const outputs: any;
const parallelJsonataProps: stepfunctions.ParallelJsonataProps = {
arguments: {
argumentsKey: arguments_,
},
assign: {
assignKey: assign,
},
comment: 'comment',
outputs: outputs,
queryLanguage: stepfunctions.QueryLanguage.JSON_PATH,
stateName: 'stateName',
};
Properties
arguments{ [key: string]: any }argumentstyping.Mapping[str, Any]argumentsMap<String, Object>ArgumentsIDictionary<string, object>Arguments*map[string]interface{}#Default: No arguments
assign{ [key: string]: any }assigntyping.Mapping[str, Any]assignMap<String, Object>AssignIDictionary<string, object>Assign*map[string]interface{}#Default: Not assign variables
Using workflow variables, you can store data in a step and retrieve that data in future steps.
Default: No comment
Default: $states.result or $states.errorOutput
notes
When specified, the value overrides the state output default. The output field accepts any JSON value (object, array, string, number, boolean, null). Any string value, including those inside objects or arrays, will be evaluated as JSONata if surrounded by {% %} characters. Output also accepts a JSONata expression directly.
queryLanguageQueryLanguagequery_languageQueryLanguagequeryLanguageQueryLanguageQueryLanguageQueryLanguageQueryLanguageQueryLanguage= JSONPath#If the state does not contain a queryLanguage field, then it will use the query language specified in the top-level queryLanguage field.
Default: The construct ID will be used as state name