Realtime component lets you add pub/sub messaging to your app using WebSockets. It uses Amazon API Gateway WebSocket API.
Constructor
sst.config.ts
Parameters
authorizer
The Lambda function to authorize connections.
Properties
url
nodes
SDK
Publish messages to connected clients:src/publisher.ts
Examples
Create a realtime component
sst.config.ts