aws-iam-roles
Lists the AWS IAM roles
aws-iam-roles [profile=PROFILE]
- profile=PROFILE
- The identifier of AWS connect profile
AWS IAM Policy
To use this command, you must allow the below permissions in your AWS IAM policy:
- iam:ListRoles
Output Fields
Field | Type | Name | Description |
---|---|---|---|
aws_profile | String | Connect profile | The identifier of AWS connect profile |
role_name | String | Role name | e.g. AWSServiceRoleForElasticLoadBalancing |
role_id | String | Role ID | |
description | String | Description | e.g. Allows ELB to call AWS services on your behalf. |
created_at | Date | Created at | |
path | String | Path | e.g. /aws-service-role/elasticloadbalancing.amazonaws.com/ |
max_session_duration | Integer | Max session duration | e.g. 3600 |