Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (19.1k points)

For a lambda executed within a step function, I kind of expected that I could get the name of the current step from the lambda context, but it doesn't seem to be that simple.

Is there any way to get the name of the current step in a lambda that is executed within a Step Function?

1 Answer

0 votes
by (44.4k points)

You can use the newly released Context Object to send the execution arn to your lambda.

https://docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
asked Mar 3, 2021 in AWS by devin (5.6k points)
0 votes
3 answers

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...