Now, we'll navigate to Lambda in our AWS console again and navigate to the function we created earlier.
Under the Function code section, paste the code into the editor here.
Click save. You've successfully created your Lambda function!
Now remember the reason we came here was because we were looking for an ARN, or Amazon Resource Number. This should be at the top right corner of your page. A couple things to make sure of: your location is in N.Virginia, and your ARN includes us-east-1 in it. Remember, this is the only physical location in AWS for Alexa Skills so far. Your skill won't work without this configured properly.
Navigate back to your developer.amazon.com tab, and in the Default Region box, paste in the ARN. We don't have to worry about the rest of this page. Click Save Endpoints at the top of the page.