From the course: AWS for Developers: Step Functions
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Static JSON parameters for Step Functions - Amazon Web Services (AWS) Tutorial
From the course: AWS for Developers: Step Functions
Static JSON parameters for Step Functions
- [Instructor] So far, we have called a lambda function and then we capture the output and then we reacted to it. In this case, I would like to take that a step further by adding a JSON document within a JSON document. In this case, if you look at line number five, it says volume, and it contains the dimensions of the package that we intend to ship. So these values will be ideal for lambda functions to calculate actual package volume by multiplying these values. But because this entire input document is going to a lambda function we need to first ensure that this input document is preserved so that it gets passed exactly as it is to other lambda functions. So in this lesson, we're going to change our input document to use this particular one that we're looking at right now. So if we take a look at the execution here, I am going to click on the node of our lambda function, says shipping distance. And then over here, I can…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.