Abdul Haseeb
Abdul Haseeb

Reputation: 512

How to pass constant value to AWS Step Function using Cloudwatch

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

Answers (1)

Chris Williams
Chris Williams

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.

enter image description here

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

Related Questions