interface CfnUserPoolUserToGroupAttachmentProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Cognito.CfnUserPoolUserToGroupAttachmentProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscognito#CfnUserPoolUserToGroupAttachmentProps |
Java | software.amazon.awscdk.services.cognito.CfnUserPoolUserToGroupAttachmentProps |
Python | aws_cdk.aws_cognito.CfnUserPoolUserToGroupAttachmentProps |
TypeScript | aws-cdk-lib » aws_cognito » CfnUserPoolUserToGroupAttachmentProps |
Properties for defining a CfnUserPoolUserToGroupAttachment.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito as cognito } from 'aws-cdk-lib';
const cfnUserPoolUserToGroupAttachmentProps: cognito.CfnUserPoolUserToGroupAttachmentProps = {
groupName: 'groupName',
username: 'username',
userPoolId: 'userPoolId',
};
Properties
| Name | Type | Description |
|---|---|---|
| group | string | IUser | The name of the group that you want to add your user to. |
| user | string | IUser | The ID of the user pool that contains the group that you want to add the user to. |
| username | string | IUser | The user's username. |
groupName
Type:
string | IUser
The name of the group that you want to add your user to.
userPoolId
Type:
string | IUser
The ID of the user pool that contains the group that you want to add the user to.
username
Type:
string | IUser
The user's username.

.NET
Go
Java
Python
TypeScript