snovo
snovo

Reputation: 305

aws Lambda function access policy

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?

Upvotes: 9

Views: 10185

Answers (3)

Oleg Gryb
Oleg Gryb

Reputation: 5249

The interface has changed: in AWS console click on your lambda function -> Configuration -> click on Policy Statement name under 'Policy statements'-> Click Edit button

enter image description here

Upvotes: 0

Fred Liporace
Fred Liporace

Reputation: 387

Select the lambda function in the console, there is a key icon in the "Designer" tab. Click this icon to show the function policy.

Upvotes: 6

John Rotenstein
John Rotenstein

Reputation: 269091

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.

Upvotes: 16

Related Questions