Hello,
I want to restrict access to an api gateway for only a specific other lambda function.
is there a way to do that?
t
thdxr
10/08/2021, 7:52 PM
Do you mean you only want that lambda to be able to send requests to it?
b
Bshr Ramadan
10/08/2021, 8:14 PM
yes exactly @thdxr
t
thdxr
10/08/2021, 8:42 PM
I'm not super familiar with this but I believe you can use an IAM Authorizer on the endpoints and specify that the lambda function is allowed. I think this area in docs is a starting point: https://docs.serverless-stack.com/constructs/Api#adding-auth