- Hands-On Chatbot Development with Alexa Skills and Amazon Lex
- Sam Williams
- 241字
- 2021-07-16 17:45:15
Building and configuring the Lambda
Now that the function is completed, we can use the build script that we made in Chapter 2, Getting Started with AWS and Amazon CLI. Run the ./build.sh hello-alexa-skill command to create our Lambda and deploy it to AWS.
When the build script finishes, navigate to your Lambda console in AWS and you should now see your newly created function. Click on this new hello-alexa-skill Lambda to open up the editor.
To allow this Lambda to be triggered by an Alexa Skill, we need to add Alexa Skills Kit as a trigger. This is done by clicking on Alexa Skills Kit in the designer under Add triggers, creating an Alexa Skills Kit trigger appears in the main designer screenshot:

This also opens the Alexa Skills Kit configuration section. Here, we need to provide the Alexa App ID for our skill. To find this, open the Alexa Skill Kit console, go to Endpoint, and choose Lambda. This will open up a few extra details and options. Our Skill ID is the first bit of information and can be copied to our clipboard and inserted into our Lambda configuration:

Before exiting the Lambda editor, we should find the ARN in the upper-right corner of the editor screen. Copy this as we'll need it for the last step in configuring the skill.
- Aptana Studio Beginner's Guide
- 物聯網(IoT)基礎:網絡技術+協議+用例
- 網管員典藏書架:網絡管理與運維實戰寶典
- 電子政務效益的經濟分析與評價
- Learning Karaf Cellar
- PLC、現場總線及工業網絡實用技術速成
- Metasploit Penetration Testing Cookbook
- 網管員必讀:網絡管理(第2版)
- IPv6網絡切片:使能千行百業新體驗
- INSTANT KineticJS Starter
- SAE原理與網絡規劃
- Echo Quick Start Guide
- Learning Windows 8 Game Development
- 工業以太網技術:AFDX/TTE網絡原理、接口、互連與安全
- Architecting Data:Intensive Applications