I have a .net monolithic architecture project, I also have an aws lambda function that makes a request to one of the api from this project, the question is how to restrict access to this api so that other users cannot use it, but only this lambda function.
Do I need to use for example api gateway or some type of authorization?