IAM group

A collection of IAM users that share the same policies, so access is managed by changing membership rather than editing documents.

In more detail

Name a group after the job it enables, such as billing readers, and attach that job’s policy to it. A user can belong to several groups and receives the combination of all their permissions. Groups are for people; they cannot be named as a principal or assumed.

Example

aws iam list-groups-for-user --user-name analyst --query 'Groups[].GroupName'

Related terms

Taught in

References