AWS StepFucntionsのMapステートを使う時、fugaをそのまま次に渡し、hogesをmapで処理したい

内容

以下のように入力する

項目を提供 - オプション

Specify the array that the Map state will iterate over. If unspecified, Map uses the state input as is. 情報

{% $states.input.hoges %}
出力

情報 状態出力は、ワークフローの次の状態に渡されます。

{
  "fuga": "{% $states.input.fuga %}",
  "hoges": "{% $states.result %}"
}