aws.iam.list_groups_for_user
Example SQL Queries
SELECT * FROMaws.iam.list_groups_for_userWHERE"user_name" = 'VALUE';Description
Lists the IAM groups that the specified IAM user belongs to.
You can paginate the results using the MaxItems and Marker parameters.
Table Definition
| Column Name | Column Data Type |
|---|---|
| user_name Required Input Column The name of the user to list groups for. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| arn The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide. | VARCHAR |
| create_date The date and time, in ISO 8601 date-time format, when the group was created. | TIMESTAMP_S |
| group_id The stable and unique string identifying the group. For more information about IDs, see IAM identifiers in the IAM User Guide. | VARCHAR |
| group_name The friendly name that identifies the group. | VARCHAR |
| path The path to the group. For more information about paths, see IAM identifiers in the IAM User Guide. | VARCHAR |