To list all the users of a particular IAM group, use the below cli command where TeamA is the name of the group.
aws iam get-group --group-name TeamA
To list all the users of a particular IAM group, use the below cli command where TeamA is the name of the group.
aws iam get-group --group-name TeamA