Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Link an Alexa Skill to a specific Lambda alias

I'd like to make use of AWS Lambda's versioning and aliases for managing code which is linked to an Alexa Skill.

Therefore, I have two aliases PROD and UAT (pretty much as described in the AWS Documentation).

However - If I try to configure the ARN of one of my aliases (e.g. arn:aws:lambda:eu-west-1:1234567:function:Alexa-Skill:PROD) to be the endpoint for an Alexa skill in the Amazon Developer Console I get the following error:

Error: Please make sure that "Alexa Skills Kit" is selected for the event source type of arn:aws:lambda:eu-west-1:1234567:function:Alexa-Skill:PROD

The unqualified ARN (i.e. arn:aws:lambda:eu-west-1:1234567:function:Alexa-Skill) works fine.

Is this a known limitation of the integration between Alexa Skills Kit and Lambda?

like image 675
bunnmatt Avatar asked Jun 25 '26 17:06

bunnmatt


1 Answers

You will need to add the Alexa Skill as the trigger for the Lambda function alias for this to work.

like image 185
Yeshodhan Kulkarni Avatar answered Jun 28 '26 13:06

Yeshodhan Kulkarni



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!