Skip to content

Instantly share code, notes, and snippets.

@javichur
Created January 25, 2020 16:38
Show Gist options
  • Save javichur/bc2ffa791de34d2f67c4f930d948525e to your computer and use it in GitHub Desktop.
Save javichur/bc2ffa791de34d2f67c4f930d948525e to your computer and use it in GitHub Desktop.
Añadiendo soporte para notificaciones en una skill Alexa
{
"manifest": {
"apis": {
// ...
},
"manifestVersion": "1.0",
"privacyAndCompliance": {
// ...
},
"publishingInformation": {
// ...
},
"permissions": [
{
"name": "alexa::devices:all:notifications:write"
}
],
"events": {
"publications": [
{
"eventName": "AMAZON.MessageAlert.Activated"
}
],
"endpoint": {
"uri": "arn:aws:lambda:xxx"
},
"subscriptions": [
{
"eventName": "SKILL_PROACTIVE_SUBSCRIPTION_CHANGED"
}
],
"regions": {
"NA": {
"endpoint": {
"uri": "arn:aws:lambda:xxx"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment