6

While invoking a state's task, is it possible to specify multiple InputPaths, or 'pick' more than one JSON nodes to be passed to the task's input ?

Example: If this is the execution input: { "id":"identifier", "nestedObjectA": { "doubleNestedObjectA": { "valueA": "value" } }, "nestedObjectB" : { "valueB": "value" } } is it possible to pass the following as input to one task: { "id":"identifier", "nestedObjectB" : { "valueB": "value" } }

and the following to other ? { "id":"identifier", "nestedObjectA": { "doubleNestedObjectA": { "valueA": "value" } } }

mathpal
  • 91
  • 9

1 Answers1

3

This was not initially possible using JsonPath, but can now be easily done using parameters in stepfunctions.

Ralph Willgoss
  • 11,750
  • 4
  • 64
  • 67
mathpal
  • 91
  • 9