Feb 22, 2022
AWS step functions language utilises the JSONPath (java) library.
If it supports getting the min
item from an array then you might be fine.
Otherwise you options are
1) use a lambda (as you are already i suspect)
2) provide the array to your step function pre-sorted (so its always the first element)