aws-cdk-lib.aws_cognito.CfnUserPoolUserToGroupAttachmentProps

interface CfnUserPoolUserToGroupAttachmentProps

LanguageType name
.NETAmazon.CDK.AWS.Cognito.CfnUserPoolUserToGroupAttachmentProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscognito#CfnUserPoolUserToGroupAttachmentProps
Javasoftware.amazon.awscdk.services.cognito.CfnUserPoolUserToGroupAttachmentProps
Pythonaws_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

NameTypeDescription
groupNamestringThe group name.
userPoolIdstringThe user pool ID for the user pool.
usernamestringThe username for the user.

groupName

Type: string

The group name.


userPoolId

Type: string

The user pool ID for the user pool.


username

Type: string

The username for the user.