Mohiuddin Sumon
05/27/2022, 6:00 AMFrank
what is the websocket connection for this?When u run
sst start
, SST deploys a debug stack into ur account first before deploying ur app. And the debug stack contains an API Gateway WebSocket API.
What is the stub lambda ?After the debug stack finishes deploying, u app will be deployed, except that the function code for each Lambda function are replaced by stub code. (the same Lambda function name, just the code is replaced). When a function is invoked, the stub code will forward the request to ur local through the WebSocket API deployed in the debug stack.
How can we get the actual function on aws console ?Stop
sst start
and then run sst deploy
, ur real code will get deployed.Klaus
05/27/2022, 6:52 AM