How to set a AWS lambda trigger to Alexa Skills programatically

核能气质少年 提交于 2019-12-03 07:09:00

I have found it. Thanks to this Amazon Developer Forum Article

You need to use the add-permission. Here is a CLI example, but the same parameters worked for me using the node.js SDK:

aws --region us-east-1 lambda add-permission \
--function-name FUNCTIONAME \
--statement-id "1234" \
--action "lambda:InvokeFunction" \
--principal "alexa-appkit.amazon.com"
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!