Lambda vs. Realtime server

Hi, does anyone know of a way to emit client events to be received in a gamelift realtime script onMessage() callback, from lambda (or any other AWS tech)

Thank you

Some quick notes:

  • Package the SDKs required in your realtime Script bundle
script.js
node_modules/aws-sdk/…

That should be all your need.

I would add extra logging and error handling anytime you are calling AWS resources from your server to ensure you have the right permissions on that role.