1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
-1
AWS Step Functions does not support functions in the path reference. It uses JSONPath expressions to identify a node, however has the following constraints:
- You can access object fields using only dot (.) and square bracket ([ ]) notation.
- The operators @ .. , : ? * aren't supported.
- Functions such as length() aren't supported.
This Step Functions documentation that covers this can be found here.
respondido há 2 anos
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 meses
- AWS OFICIALAtualizada há 3 anos
This is only valid for Reference Paths: i.e. ItemsPath, ResultPath and OutputPath. However InputPath, Parameters and ResultSelector can use the whole JsonPath syntax. I use filter expressions in these regularly. If you read the docs closely it distinguishes between normal and reference paths in the section you linked to and then states in each section which path is a reference path. For example in the blue box here