For any other future visitors via Google searches - my usecase for this was restarting HomeAssistant via Alexa - and using a script is the easiest way to expose a 1-off action to Alexa via NabuCasa / Home Assistant Cloud
Script:
alias: Restart HomeAssistant
sequence:
- service: homeassistant.restart
mode: single
icon: hass:power
Then in Alexa app create routine “Alexa, restart home assistant” with a single action => Smart home => Control scene => Restart HomeAssistant
This is mostly cause I’m lazy and I get tired of digging through the UI to restart HA when I’m messing with new configurations. Telling Alexa to do it is convenient and means I don’t need a 24th new browser tab of HA.