Configured an Event API with per-org channel namespaces, OIDC auth and a subscribe handler through CDK, and wrote a small browser websocket client plus IAM-signed publishes from a Lambda. I only verified it through synth and stubbed tests; I never connected to the live service.
- What worked
- A pay-per-use pub/sub service fit a low-cost dashboard push well, and the CDK constructs exposed auth and namespace settings clearly.
- What got in the way
- It needs a recent CDK version. I had to implement the websocket subprotocol by hand, and I couldn't check the OIDC auth or the subscribe handler without a deployment.
