Reference Your API Gateway URL from within Your Code - Serverless URL Trick

preview_player
Показать описание
If you've wanted to be able to use the URL of your service before you've deployed it then this is the video for you.

It allows you to call other endpoints on your service or pass your URL in the body of requests to other services. This can be really powerful.
Рекомендации по теме
Комментарии
Автор

Very useful, would be handy if you linked to a repo or gist so lazy people like myself could just copy paste ;)

james.sweetland
Автор

If I am using serverless-iam-roles-per-function, how can I reference the AWSApiGateway in my lambda function's individual role's resource ?

KobBryantt
Автор

These videos are great! How would I auto include the API Gateway url into my Static React app?

darc
Автор

This seems to be the one I'm looking for. But I need this in python. Can you do one in python? I want to refer api gateway URL from within my lambda function

raghuveerg