We are now ready to paste our code into the AWS Lambda Function code section.


  1. Copy the code in index.js, to the right.
  2. Delete the contents of the Function code section in your Lambda function on AWS.
  3. Paste the code from index.js into the Function code text box.
  4. Save the changes to index.js by clicking Save in the upper right corner on AWS.

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?