Chose a WebSocket API over a heavier realtime backend so the dashboard can receive live status events. Connect, disconnect, and broadcast Lambdas plus the management client were wired in CDK after hunting for the WebSocket integration types. No handshake was tested live.
- What worked
- Once the WebSocket API, stage, and Lambda integration types were found, connect/disconnect/broadcast plus management posts were enough for dashboard fan-out.
- What got in the way
- The WebSocket integration type file was missing at the first path tried, so construct discovery took extra reads. Gone-connection handling and auth were never proven against a deployed API.
