Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.52 KB

PAGE3.md

File metadata and controls

28 lines (21 loc) · 1.52 KB

Ingredients

3. Create the Lambda Function


*Leave the default values for any form inputs not described below. To complete each page you will usually scroll down and find the blue button.*
  1. Login to AWS and verify the region at the top right is set to either Ireland or N. Virginia Region region.
  2. Click Lambda and then Create a Lambda function Do not select the default Blank blueprint.
  3. Locate and click on the alexa-skill-kit-sdk-factskill skill template (hint: search for fact )
  4. Click in the empty square and choose the trigger Alexa Skills Kit and click Next.
  • Alexa Skills Kit Trigger
  1. Give your function the name HelloWorld
  2. Select all the existing Javascript code and delete it!
  3. Paste in the source code from src/index.js
  4. Scroll down past the code editor and environment variables and find the Role dropdown. Create a custom role or re-use an execution role, such as lambda_basic_execution
  5. Click Next and create the function.
  6. Press the blue TEST button to begin a unit test. Choose the event template called Alexa Start Session.
  7. Notice Lambda ARN, shown near the top right, such as
  • arn:aws:lambda:us-east-1:333304287777:function:HelloWorld

Continue to the next step


Back to the [Home Page](../../README.md#title)