将多个 InputPaths 传递给 StepFunctions 任务

mat*_*pal 6 jsonpath amazon-web-services aws-step-functions

在调用状态任务时,是否可以指定多个 InputPath,或者“选择”多个 JSON 节点以传递给任务的输入?

示例: If this is the execution input: { "id":"identifier", "nestedObjectA": { "doubleNestedObjectA": { "valueA": "value" } }, "nestedObjectB" : { "valueB": "value" } } 是否可以将以下内容作为输入传递给一项任务: { "id":"identifier", "nestedObjectB" : { "valueB": "value" } }

和以下到其他? { "id":"identifier", "nestedObjectA": { "doubleNestedObjectA": { "valueA": "value" } } }

mat*_*pal 3

最初使用 JsonPath 是不可能的,但现在可以使用stepfunctions 中的参数轻松完成。