我可以使用lambda添加权限API https://docs.aws.amazon.com/lambda/latest/dg/API_AddPermission.html
添加权限我从AWS控制台单击了lambda函数中的设计器按钮,但它仅显示API中的功能策略内容集,并且不可编辑。
我的要求是通过AWS控制台添加lambda权限。找不到任何参考。 有什么帮助吗?谢谢。
答案 0 :(得分:1)
- 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.
希望这会有所帮助 谢谢。