Creating Your Lambda function
Copy the Code
We are now ready to paste our code into the AWS Lambda Function code section.
- Copy the code in index.js, to the right.
- Delete the contents of the Function code section in your Lambda function on AWS.
- Paste the code from index.js into the Function code text box.
- Save the changes to index.js by clicking Save in the upper right corner on AWS.