I'm trying to make private AWS lambda call made through API gateway and I don't find the right answer on the internet, probably because I'm a beginner in AWS website management.
The closest source I found was this amazon documentation: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-private-api-test-invoke-url.html
I'm using the serverless framework and here is an example of a function setup
provider: name: aws runtime: nodejs8.10 memorySize: 128 environment: MONGODB_URL: .... MONGODB_USER: .... MONGODB_PWD:.... vpc: securityGroupIds: - .... subnetIds: - .... - .... functions: addGameTemplate: handler: game.create events: - http: method: put path: games cors: true private: true
The url is also hosted on route53.
Any guidance will be appreciated!