From the course: Learning Amazon Web Services (AWS) for Developers

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Lambda using cache

Lambda using cache

- [Instructor] Now that we have our cache setup, let's create our lambda. So in the search bar, I'm going to type lambda, and Command + click on that to open it up in another tab. In our lambdas, we'll click Create Function, we'll author it from scratch 'cause we're going to replace it with provided code. And I'm going to name it lambdacache. We're going to use Python, so I'll select the latest version of Python. And we could change the existing role from IAM if we already knew we had one. We're going to let it create a new role and then we'll have to change its settings in a minute. So I'll click Create function, and it'll create the basic function, then I can upload the code that's provided in the exercise files. Now that I have my lambda, I'm going to scroll down to Upload from and select the zip file, click Upload and navigate to the Exercise Files, chapter five, 05_04, and select this appy.zip file. I'll save…

Contents