AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateGroup operation.
Creates a new group in the specified user pool. For more information about user pool
groups see Adding
groups to a user pool.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests
for this API operation. For this operation, you must use IAM credentials to authorize
requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
Namespace: Amazon.CognitoIdentityProvider.Model
Assembly: AWSSDK.CognitoIdentityProvider.dll
Version: 3.x.y.z
public class CreateGroupRequest : AmazonCognitoIdentityProviderRequest IAmazonWebServiceRequest
The CreateGroupRequest type exposes the following members
Name | Description | |
---|---|---|
CreateGroupRequest() |
Name | Type | Description | |
---|---|---|---|
Description | System.String |
Gets and sets the property Description. A description of the group that you're creating. |
|
GroupName | System.String |
Gets and sets the property GroupName. A name for the group. This name must be unique in your user pool. |
|
Precedence | System.Int32 |
Gets and sets the property Precedence.
A 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. Zero is the highest
precedence value. Groups with lower
Two groups can have the same
The default |
|
RoleArn | System.String |
Gets and sets the property RoleArn.
The Amazon Resource Name (ARN) for the IAM role that you want to associate with the
group. A group role primarily declares a preferred role for the credentials that you
get from an identity pool. Amazon Cognito ID tokens have a |
|
UserPoolId | System.String |
Gets and sets the property UserPoolId. The ID of the user pool where you want to create a user group. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5