I am trying to use an Amazon alexa to modify/run a script on my Raspberry Pi. I currently have a custom alexa skill that runs an Amazon lambda function and sends the message to a queue. I then have the raspberry pi constantly looking for updates in the queue.
However, I am looking at a better way to do this. Is it impossible to register my raspberry pi as an IoT device and communicate that way? I am open to any suggestions, let me know if you have any ideas as I am very new to this.