AWS API Gateway WebSockets Serverless

update 2019-10-03: websocket events are now “natively supported in serverless framework” no longer need to use serverless-websockets-plugin. see https://serverless.com/framework/docs/providers/aws/events/websocket/

below uses serverless-websockets-plugin


learn AWS API Gateway Websockets with serverless framework