1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
1
API Gateway only support web sockets from the client to the gateway. From the gateway to the backend integration, ECS in your case, it does not support web sockets. You will need to use an HTTP integration type (or VPC Link if the ECS cluster is private).
If your client is not able to established a web socket with the gateway due to firewalls, they may need to revert to polling instead.
I am not sure why you are trying to create a web socket connection from API Gateway to the backend, if the client does not support it anyway.
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
Worth replacing the REST API over a WebSocket API. ?