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