I\'d like to set the trigger of an AWS lambda that uses Alexa events to run the trigger, but I can\'t find anything in the SDK documentation.
Does anybody know? I would
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"