1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
As documented here,
For key-value pairs where the value is selected using a path, the key name must end in .$
What you need to do is the following:
"Process chunk": {
"Type": "Task",
"Resource": "arn:aws:states:::states:startExecution",
"Parameters": {
"StateMachineArn": "arn:aws:states:us-west-1:12345:stateMachine:Ingestion-process-parts",
"Input.$": "$.input.MessageDetails"
},
"End": true,
"ResultPath": "$.input.MessageDetails"
}
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 6 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 10 mois
Thanks Uri, that worked great!
I did, however, find that using "StateMachineArn.$": "$$.StateMachine.Id" resulted in an attempted recursion, rather than calling the function I wanted, so I left that as before.
My bad of course. I thought you are passing your own ARN. Of course you need to pass the ARN that you want to invoke so you are correct. Will edit my answer.