1 回答
- 最新
- 投票最多
- 评论最多
0
You could do something like this in the CLI:
aws iam list-roles --query Roles[?AssumeRolePolicyDocument.Statement[0].Principal.Service==\`lambda.amazonaws.com\`].RoleName
This will get you the roles that IAM trusts Lambda to assume.