'AWS Step Function how to imitate StringStartsWith condition?
I need to invoke different lambda depends on first letter of payload field. There is no appropriate Choice Rule. Is there any workaround ?
Solution 1:[1]
Step Functions doesn't support a string pattern matching comparison operator. A workaround is to use a Lambda function with that does this comparison and check the result of the comparison using a Choice state.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | adamwong |
