interface JsonPathCommonOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.StepFunctions.JsonPathCommonOptions |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctions#JsonPathCommonOptions |
![]() | software.amazon.awscdk.services.stepfunctions.JsonPathCommonOptions |
![]() | aws_cdk.aws_stepfunctions.JsonPathCommonOptions |
![]() | aws-cdk-lib » aws_stepfunctions » JsonPathCommonOptions |
Option properties for JSONPath state.
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';
const jsonPathCommonOptions: stepfunctions.JsonPathCommonOptions = {
inputPath: 'inputPath',
outputPath: 'outputPath',
};
Properties
Name | Type | Description |
---|---|---|
input | string | JSONPath expression to select part of the state to be the input to this state. |
output | string | JSONPath expression to select part of the state to be the output to this state. |
inputPath?
Type:
string
(optional, default: $)
JSONPath expression to select part of the state to be the input to this state.
May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}.
outputPath?
Type:
string
(optional, default: $)
JSONPath expression to select part of the state to be the output to this state.
May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.