{"id":17865252,"url":"https://github.com/oieduardorabelo/cdk-api-gateway-websocket","last_synced_at":"2025-09-21T12:32:46.034Z","repository":{"id":71572274,"uuid":"597242150","full_name":"oieduardorabelo/cdk-api-gateway-websocket","owner":"oieduardorabelo","description":"WebSocket API in Amazon API Gateway using AWS CDK","archived":false,"fork":false,"pushed_at":"2023-02-04T00:22:04.000Z","size":119,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T03:51:03.255Z","etag":null,"topics":["amazon-api-gateway","api-gateway","aws","aws-cdk","aws-cdk-typescript","aws-lambda","aws-lambda-node","cdk-example","serverless","typescript","websocket"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oieduardorabelo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-04T00:19:21.000Z","updated_at":"2024-12-21T05:07:26.000Z","dependencies_parsed_at":"2023-05-11T10:15:24.157Z","dependency_job_id":null,"html_url":"https://github.com/oieduardorabelo/cdk-api-gateway-websocket","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oieduardorabelo%2Fcdk-api-gateway-websocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oieduardorabelo%2Fcdk-api-gateway-websocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oieduardorabelo%2Fcdk-api-gateway-websocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oieduardorabelo%2Fcdk-api-gateway-websocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oieduardorabelo","download_url":"https://codeload.github.com/oieduardorabelo/cdk-api-gateway-websocket/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233598250,"owners_count":18700427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amazon-api-gateway","api-gateway","aws","aws-cdk","aws-cdk-typescript","aws-lambda","aws-lambda-node","cdk-example","serverless","typescript","websocket"],"created_at":"2024-10-28T09:19:57.884Z","updated_at":"2025-09-21T12:32:40.686Z","avatar_url":"https://github.com/oieduardorabelo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebSocket API in Amazon API Gateway\n\nCDK example of:\n\n- WebSocket API using [Amazon API Gateway WebSocketApi Construct](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-apigatewayv2-alpha.WebSocketApi.html)\n- Using `$connect` and `$disconnect` routes to manage connected users\n- Using `AWS.ApiGatewayManagementApi` to send message from backend to connected clients\n\nFinal architecture:\n\n![](./docs/cdk-api-gateway-websocket.png)\n\nExtra resources:\n\n- [About WebSocket APIs in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-overview.html)\n- [Managing connected users and client apps: $connect and $disconnect routes](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-route-keys-connect-disconnect.html)\n- [Documentation of class: AWS.ApiGatewayManagementApi](https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/ApiGatewayManagementApi.html)\n- [Setup API Gateway WebSocket API with CDK](https://aws.plainenglish.io/setup-api-gateway-websocket-api-with-cdk-c1e58cf3d2be)\n- [Process DynamoDB streams with Lambda](https://aws.plainenglish.io/process-dynamodb-streams-with-lambda-5d870455f524)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foieduardorabelo%2Fcdk-api-gateway-websocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foieduardorabelo%2Fcdk-api-gateway-websocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foieduardorabelo%2Fcdk-api-gateway-websocket/lists"}