Interface IParallelJsonPathProps
Properties for defining a Parallel state that using JSONPath.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IParallelJsonPathProps : IStateBaseProps, IAssignableStateOptions, IJsonPathCommonOptions
Syntax (vb)
Public Interface IParallelJsonPathProps
Inherits IStateBaseProps, IAssignableStateOptions, IJsonPathCommonOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.StepFunctions;
var assign;
var resultSelector;
var parallelJsonPathProps = new ParallelJsonPathProps {
Assign = new Dictionary<string, object> {
{ "assignKey", assign }
},
Comment = "comment",
InputPath = "inputPath",
OutputPath = "outputPath",
QueryLanguage = QueryLanguage.JSON_PATH,
ResultPath = "resultPath",
ResultSelector = new Dictionary<string, object> {
{ "resultSelectorKey", resultSelector }
},
StateName = "stateName"
};
Synopsis
Properties
Result |
JSONPath expression to indicate where to inject the state's output. |
Result |
The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. |
Properties
ResultPath
JSONPath expression to indicate where to inject the state's output.
virtual string ResultPath { get; }
Property Value
System.
Remarks
May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output.
Default: $
ResultSelector
The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
virtual IDictionary<string, object> ResultSelector { get; }
Property Value
System.
Remarks
You can use ResultSelector to create a payload with values that are static or selected from the state's raw result.
Default: - None