# UserPoolUserToGroupAttachmentReference

A reference to a UserPoolUserToGroupAttachment resource.

- Source: Generated code
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito as interfaces_cognito } from 'aws-cdk-lib/interfaces';
const userPoolUserToGroupAttachmentReference: interfaces_cognito.UserPoolUserToGroupAttachmentReference = {
  groupName: 'groupName',
  username: 'username',
  userPoolId: 'userPoolId',
};
```

## Properties

- `groupName`: string (required) — The GroupName of the UserPoolUserToGroupAttachment resource.

- `username`: string (required) — The Username of the UserPoolUserToGroupAttachment resource.

- `userPoolId`: string (required) — The UserPoolId of the UserPoolUserToGroupAttachment resource.
