/cdk-api-gateway-websocket

WebSocket API in Amazon API Gateway using AWS CDK

Primary LanguageTypeScript

WebSocket API in Amazon API Gateway

CDK example of:

  • WebSocket API using Amazon API Gateway WebSocketApi Construct
  • Using $connect and $disconnect routes to manage connected users
  • Using AWS.ApiGatewayManagementApi to send message from backend to connected clients

Final architecture:

Extra resources: