Reputation: 512
I want to pass some payload to Step Function triggered by Cloudwatch rule. After passing payload, who can I receive it in Step Function ?
Upvotes: 1
Views: 1296
Reputation: 35188
If you want to pass a payload to the step function you should pass in a constant, this will be a fixed JSON string that gets passed during every trigger.
From the image above you can see the ability to specify a JSON string, this will replace any of the previous input that would have been passed into the step function (the event JSON).
Upvotes: 2