Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Restrict users from viewing Lambda function

Is there a way in AWS to restrict other users from viewing a specific Lambda function? It seems like currently, if anyone creates a function it will allow everyone else to view them. Is there a way to essentially make them private?

like image 991
Myelin Avatar asked May 24 '26 06:05

Myelin


1 Answers

If you check the Lambda API permissions in the official documentation then you will see that you can not restrict Lambda ListFunctions API based on resource. And you can not specify conditions also when listing.

Action Resource Condition
GetAccountSettings,ListFunctions,ListTags,TagResource,UntagResource * None

But you can enhance security with checking this AWS Blog regarding granular access to Lambda functions https://aws.amazon.com/premiumsupport/knowledge-center/granular-access-lambda/

like image 126
Burak Cansizoglu Avatar answered May 26 '26 19:05

Burak Cansizoglu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!