1.Log in to your local machine’s CLI or AWS CloudShell (we will use the local machine CLI).
2. If you want to create a group, use the following command:
Command – # aws iam create-group –group-name <group-name>
3.If you want to see the list of groups, use the following command:
Command – # aws iam list-groups
4.Check the AWS Cloud Console to see if the group has been created.
END