1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hi,
AWS Step Functions uses Amazon States Language to describe state machines declaratively, and the "@", ",", ":", and "?"
operators are not supported, since all reference Paths MUST be unambiguous references to a single value, array, or object (subtree).
Thus, the wildcard symbol could be employed to select all elements of an object or array.
Step Function definition
{
"Comment": "A description of my state machine",
"StartAt": "Pass",
"States": {
"Pass": {
"Type": "Pass",
"End": true,
"Parameters": {
"clusterids.$": "$.Clusters[*].ClusterIdentifier"
}
}
}
}
Input
{
"Clusters": [
{
"ClusterIdentifier": 1
},
{
"ClusterIdentifier": 2
}
]
}
Output
{
"clusterids": [
1,
2
]
}
I hope this helps you.
Contenus pertinents
- demandé il y a 6 mois
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 4 mois
- AWS OFFICIELA mis à jour il y a 3 ans
Ahh, I even scanned the spec and totally didn't pick up on that, especially since data were returned in the data flow simulator. Regardless, thank you for the note!