I need your help with this:
I try to use lambdas with my AWS websocket api gateway.
I have made the following template.yaml
:
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: "On connect and on disconnect handler"
Parameters
DB_HOSTName:
Type: String
Default: '0.0.0.0:3306'
Description: Database host
DB_USERName:
Type: String
default: myuser
Description: Database User
DB_PASSWORDName:
Type: String
default:
…
I try to run locallym an aws lambda that is triggered via API Gateway's websocket. Based upon this: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-using-start-api.html I tried to run it locally without a success.