sum91
sum91

Reputation: 385

Lambda Policy Permissions: How to set Function Policy for lambda functions from AWS console?

I can add permissions using lambda add permission API https://docs.aws.amazon.com/lambda/latest/dg/API_AddPermission.html

I clicked on designer button in the lambda function from AWS console, but it just displays the Function Policy content set from the API, and it's not editable.

My requirement is to add the lambda permissions through the AWS console. Couldn't find any references. Any help on this? Thanks.

Upvotes: 2

Views: 1950

Answers (1)

Raheel Waqar
Raheel Waqar

Reputation: 81

 - Go to Lambda console.
 - Check the role name that is attached to your lambda.
 - Go to IAM and click on roles on the left of the screen.
 - Search the role name that you figured out in step-2.
 - Add permission there.

Hopefully, it would help Thanks.

Upvotes: 5

Related Questions