5.
Select a Role for the Lambda function (user can create a Role in IAM, the role must have
"AWSLambdaFullAccess" and "CloudWatchLogsFullAccess" policy). In the following figure,
“lambda_basic_execution” role is created.
6.
Go to IAM console, select “Roles”, select “lambda_basic_execution” role. Attach policy
"AWSLambdaFullAccess" and "CloudWatchLogsFullAccess" to this role.
Figure 5-36. Creating a Lambda Function for Custom Skill
7.
After creating the Lambda function, upload the function code to the Lambda function. As the
function code includes a number of files, you can upload the code as a zip file.
– Select "Upload a .ZIP file" at "Code entry type".
– Select
\lambda-function\alexa-custom-skill\alexa-custom-skill.zip
and click
Save
.
ATWINC15x0 Smart Device Kit
AWS Setup
©
2019 Microchip Technology Inc.
User Guide
DS50002885A-page 49