How to send a unique value(UUID4) to the step function is the json format, when it was triggered every time from the cloudwatch event rules? Can any one help on this. Thanks in advance.
AWS Step Functions now provides an intrinsic function to generate a UUIDv4 string in the ASL definition: https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-intrinsic-functions.html#asl-intrsc-func-uuid-generate
Example:
"uuid.$": "States.UUID()"
// output
{ "uuid": "ca4c1140-dcc1-40cd-ad05-7b4aa23df4a8" }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With