CmdID / aws / aws cognito-idp
aws cognito-idp create-group
Creates a new group in the specified user pool. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--descriptionA description of the group that you're creating.--group-nameA name for the group.--precedenceA non-negative integer value that specifies the precedence of this group relative to the other groups that a user can belong to in the user pool.--role-arnThe Amazon Resource Name (ARN) for the IAM role that you want to associate with the group.--user-pool-idThe ID of the user pool where you want to create a user group.