I added a permission to my Lambda function access policy using "aws lambda add-permission". I can get the policy back with "aws lambda get-policy", but where can I see the policy in the AWS Management Console?
3 Answers
I couldn't find it in the console, either.
Using Resource-Based Policies for AWS Lambda (Lambda Function Policies) says:
The console doesn't support directly modifying permissions in a function policy. You must use either the AWS CLI or the AWS SDKs.
2 Comments
Jonathan Swartz
Same page says "You can use the console to view your function policy by choosing the Triggers tab on your function's details page and then choosing View function policy." But I don't see this tab.
Flic
The function policy is visible on the Permissions tab but as per this answer, you can't modify it from the console.
The interface has changed: in AWS console click on your lambda function -> Configuration -> click on Policy Statement name under 'Policy statements'-> Click Edit button