This is only for a demo and Alexa (Amazon echo) doesn't support us pushing text to it to be spoken randomly so we want to pull off a hack.
- User speaks into Alexa
- We have our lambda execute an action and then hopefully sleep and wait on an API response which will not happen until we do something
- Then we may post a response from another user
- Lambda now returns the text
In this way, we are trying to simulate two way communication through Alexa.
Do I have to worry about Alexa timing out? If so, how long will it take? Will my Lambda timeout as well (I am assuming I can just sleep in that code or hang on a remote call)?