AWS WebSocket and Lambda Authorizer issue

0

I am trying AWS WebSocket API and Lambda authorizer, I configured the authorizer for the connect route already which is triggered for connect too. However, in AWS console for the Lambda authorizer, I saw this error in its trigger(API Gateway) config: "The API with ID 7rypk365yl doesn’t include a route with path /* having an integration arn:aws:lambda:us-east-1:370783930566:function:apigwLambdaAuthorizer."

For WebSocket API, I only need config the Lambda authorizer for the connect route? Above error feel like applies to REST/HTTP API only? Have I mixed up API Gateway v1 and v2 in some way? I did refer to some examples for REST/HTTP or the WebSocket document refers to REST one for common part.

Thanks in advance!

1개 답변
0

This comment won’t solve your issue, but as per my experience, setting up web socket with an API GW is painful and too “brittle”.

Another option for websockets (used also in serverlesscoffee implementation) is IOTCore: https://oliverdunk.com/2022/06/04/aws-iot-core

profile picture
전문가
답변함 7달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인