IAM permission for the new 'Download function' in Lambda console

0

Noticed AWS changed Lambda console UI yesterday to move the 'Export function' feature from Actions to a standalone 'Download function' button. But after that, some of our users are unable to download the function any more. What permission is required to use the Download function?

Here's the policy for those users. "Sid": "VisualEditor1", "Effect": "Allow", "Action": [ "cloudformation:DescribeStacks", "cloudformation:ListStackResources", "cloudwatch:ListMetrics", "cloudwatch:GetMetricData", "ec2:DescribeSecurityGroups", "ec2:DescribeSubnets", "ec2:DescribeVpcs", "kms:ListAliases", "iam:GetPolicy", "iam:GetPolicyVersion", "iam:GetRole", "iam:GetRolePolicy", "iam:ListAttachedRolePolicies", "iam:ListRolePolicies", "iam:ListRoles", "lambda:", "logs:DescribeLogGroups", "states:DescribeStateMachine", "states:ListStateMachines", "tag:GetResources", "xray:GetTraceSummaries", "xray:BatchGetTraces" ], "Resource": [ "arn:aws:lambda::<account id>:function:<function name prefix>*" ], "Condition": { "BoolIfExists": { "aws:MultiFactorAuthPresent": "true" } }

質問済み 6ヶ月前169ビュー
1回答
0

After some troubleshooting, I found out that you'll need iam actions below to make it work. "iam:GetPolicy", "iam:GetPolicyVersion", "iam:GetRole", "iam:GetRolePolicy", "iam:ListAttachedRolePolicies", "iam:ListRolePolicies", "iam:ListRoles"

回答済み 6ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ