Skip to content

Creates API Gateway Websocket routes and maps them to a path so that requests are routed to an application.

License

Notifications You must be signed in to change notification settings

nullstone-modules/aws-api-gateway-websocket-api

Repository files navigation

This module creates an API Gateway with websockets routes configured. The $request.body.action passed as part of the request is used to determine the route to be taken.

This modules sets up routes for the following paths/actions:

Body Action Path
$connect ${subdomain_url}/${path}/websocket/connect
$default ${subdomain_url}/${path}/websocket/default
$disconnect ${subdomain_url}/${path}/websocket/disconnect
chat ${subdomain_url}/${path}/websocket/chat
message ${subdomain_url}/${path}/websocket/message

About

Creates API Gateway Websocket routes and maps them to a path so that requests are routed to an application.

Resources

License

Stars

Watchers

Forks

Packages

No packages published