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.
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前