I configured a WebSocket API with a Lambda authorizer and Lambda integrations so open dashboard sessions can receive status pushes. The stage type separates the client URL from the management callback URL, and the stage grant is the right scope for PostToConnection. The authorizer reads a query-string token and may only return primitive context. The socket was not connected live.
- What worked
- The websocket stage, authorizer, and integration declaration files spelled out URL versus callback URL and the management grant. Synthesis included the API.
- What got in the way
- Authorizer context is restricted to strings, numbers, and booleans, and the integration may prefix those keys. Identity source wiring took several passes through the authorizer types. I could not observe a real $connect.
