简体   繁体   中英

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?

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.

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM