User Tools

Site Tools


using_lambda

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
using_lambda [2016/12/29 14:01] tbrodeurusing_lambda [2016/12/29 17:21] (current) tbrodeur
Line 1: Line 1:
-<fc #008000><fs large>Create a Lambda Function to Interface with the Alexa Skills Kit</fs></fc>+<fc #008000><fs x-large>Create a Lambda Function to Interface with the Alexa Skills Kit</fs></fc>
 <color #22b14c>----------------------------------------------------------------------------------------------------------------------------- <color #22b14c>-----------------------------------------------------------------------------------------------------------------------------
 </color> </color>
 +
 +<fs small>
 +**Author:** Tristan Brodeur 
 +
 +**Email:** [email protected]
 +
 +**Date:** Last modified on 12/29/16 
 +
 +**Keywords:** Alexa, Lambda</fs>
 +
 +<color #22b14c>-----------------------------------------------------------------------------------------------------------------------------
 +</color>
 +
 <fs medium>**Overview**</fs> <fs medium>**Overview**</fs>
  
-AWS Lambdaa service that executes code in response to events, thus saving the developer the trouble of maintaining a server. Lambda also links seamlessly to the Alexa Skills Kit, which makes it an excellent tool for running the code for Alexa Skills.+AWS Lambda is a service that executes code in response to events, thus saving the developer the trouble of maintaining a server. Lambda also links seamlessly to the Alexa Skills Kit, which makes it an excellent tool for running the code for Alexa Skills.
  
 <color #22b14c>----------------------------------------------------------------------------------------------------------------------------- <color #22b14c>-----------------------------------------------------------------------------------------------------------------------------
Line 60: Line 73:
 name>.<function name> name>.<function name>
  
--<file name> can be replaced with the name of your file if uploaded via zip, or leave it as is if using the inline editor.<function name> can be replaced with the name of your function used to pass the json file to. For this tutorial, we'll leave the handler as is.+-<file name> can be replaced with the name of your file if uploaded via zip, or leave it as is if using the inline editor.<function name> can be replaced with the name of your function used to pass the json file to.  
 + 
 +-//If you are following the "Hello World" tutorial, leave the handler as is.//
  
 -Role specifies the IAM security role to use when running the Lambda -Role specifies the IAM security role to use when running the Lambda
Line 83: Line 98:
 functions, or if you need to split your code into multiple files (for functions, or if you need to split your code into multiple files (for
 example if you use libraries), the zip file approach is the way to go. example if you use libraries), the zip file approach is the way to go.
 +
 +-//If you are following the "Hello World" tutorial, grab the code from [[echo_hello_world|this page]] and paste it in the inline editor//
  
 -Once the code is added, scroll down to the end of the page and click Next to save the -Once the code is added, scroll down to the end of the page and click Next to save the
Line 102: Line 119:
  
 -If its not set, click "Add trigger" and choose "Alexa Skills Kit". -If its not set, click "Add trigger" and choose "Alexa Skills Kit".
 +
 +-//If you are following the "Hello World" tutorial, you can continue [[echo_hello_world|here]].//
using_lambda.1483048877.txt.gz · Last modified: 2016/12/29 14:01 by tbrodeur