aws iam list-roles
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/list-roles.html
aws iam list-roles
aws iam list-roles | grep Arn
aws iam list-roles | grep RoleName
aws iam list-roles --output text | grep ROLES
aws iam list-roles | grep RoleName
"RoleName": "AWSServiceRoleForOrganizations",
"RoleName": "AWSServiceRoleForSupport",
"RoleName": "AWSServiceRoleForTrustedAdvisor",
"RoleName": "OrganizationAccountAccessRole",
Related
See also
- AWS IAM role, AWS service roles, AWS IAM Roles Anywhere: [
list-roles | get-role | create-role | put-role-policy | create-service-linked-role | attach-role-policy | update-role | add-role-to-instance-profile ], aws ec2 describe-iam-instance-profile-associations ]
, IAM roles for EC2 instances,AWSServiceRoleForAutoScaling
Advertising: