1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
To specify that a parameter use a path to reference a JSON node in the input, end the parameter name with .$ (from doc).
In your case:
"Step Name": {
"Type": "Task",
"Resource": "arn:aws:states:::sns:publish",
"Parameters": {
"TopicArn": "${TopicARN}",
"Message": {
"id.$": "$.id",
"param1.$": "$.param1",
"param2.$": "$.param2",
"metadata.$": "$"
},
"MessageAttributes": {
"type": {
"DataType": "String",
"StringValue.$": "$.type"
},
"id": {
"DataType": "String",
"StringValue.$": "$.id"
}
}
},
"End": true
}
Contenus pertinents
- demandé il y a un an
- demandé il y a un mois
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
That's exactly what I was looking for, now sure how I missed it. Thanks!