In AWS Step Functions, can you format parameter values with static string?

Solution 1:

Use the States.Format intrinsic function to interpolate a string:

"Parameters": {
        "Details": {
          "formatted_weight.$": "States.Format('{} grams', $.product.weight)",
        }
      }