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.
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 string containing the description of the group. |
|
GroupName | System.String |
Gets and sets the property GroupName. The name of the group. Must be unique. |
|
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 role Amazon Resource Name (ARN) for the group. |
|
UserPoolId | System.String |
Gets and sets the property UserPoolId. The user pool ID for the user pool. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5