July 2019
Intermediate to advanced
264 pages
7h 33m
English
Due to the permissions and security model of AWS and Lambda, a function does not automatically have access to DynamoDB. To set that up, you’ll need to head back to IAM. (Remember, you can get to any AWS service through the AWS console’s search bar.)
From the IAM welcome page, click through to view all of the roles. The ASK CLI created a role specifically for your skill with the name “ask-lambda-” plus the skill name. If you called your skill “super-sleeper,” the full role name will be “ask-lambda-super-sleeper.”
Not everyone uses DynamoDB in their skill, and security best practices would say not to add permissions until you need them, so the ASK CLI adds only what you always need to run ...
Read now
Unlock full access