How to get API GW Socket URL outside of lambda handler? #718
Unanswered
entest-hai
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This current example [api-websocket-lambda-dynamodb](https://github.com/aws-samples/aws-cdk-examples/blob/master/typescript/api-websocket-lambda-dynamodb/sendmessage/app.js) get the endpointUrl of a deployed socket api as below.
However, this is inside a handler lambda. It is better to do this outside (from very beginning). I am considering query the endpointUrl by boto3 ... but not nice. Does anyone know how to get the endpointUrl?
Beta Was this translation helpful? Give feedback.
All reactions