AWS Lambda http, where can I find the url?

I am new to AWS Lambdabut sure I see its advantages and stumbled upon an excellent infrastructure Serverlessto help me build solutions on Lambda.

I started creating solutions using AWS APIGateway, but I really need "internal" VPC APIand not a public API for working on the Internet, which creates the GW API.

I found that it Servlessreally can provide an endpoint, HTTPbut I can’t understand how this is done and how the URL is created. When I deploy Lambda from Serverless, it gives me a URL, for example:

https://uxezd6ry8z.execute-api.eu-west-1.amazonaws.com/dev/ping

I would like to be able to find (or create) the same http listener for existing ones, Lambdasso my question is how is the URLactual HTTPlistener created and where is it deployed ?

+15
source share
3 answers

Duh, I used to make a mistake in registering AWS, so the GW API did not show any compatible API without a server, and that is why I could not understand how they did it ...

As soon as I log in to the AWS account hosting the Serverless structure, I see the GW GET API API for an HTTP listener without a server.

+3
source

http , -, "" " ", API Gateway, , , URL-.

adding api gateway as a trigger will give you a url to an existing lambda

+10

, URL ,

1. https://console.aws.amazon.com/apigateway

2. API ( AWS ).
enter image description here

3. URL .

0

Source: https://habr.com/ru/post/1662639/


All Articles