Next, I needed to create the WebSocket API in API gateway. It’s a simple table with just a ConnectionId column. This table is separate from the table that I’ll be streaming changes from. Lambda functions to handle connection and disconnection events for the APIįirst, I created a DynamoDB table to manage the connections for the WebSocket API.To create a WebSocket API in AWS, I needed to utilize three services: I updated the Github project from my last post to connect to an WebSocket API. A recent project of mine was potentially in need of a WebSocket API, and I wanted to investigate how to set up a WebSocket API in the AWS ecosystem.Įxtending the infrastructure from my previous DynamoDB setup to stream updates to a client via WebSockets was a straightforward problem to solve.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |