UserPoolUserToGroupAttachmentReference

class aws_cdk.aws_cognito.UserPoolUserToGroupAttachmentReference(*, group_name, username, user_pool_id)

Bases: object

A reference to a UserPoolUserToGroupAttachment resource.

Parameters:
  • group_name (str) – The GroupName of the UserPoolUserToGroupAttachment resource.

  • username (str) – The Username of the UserPoolUserToGroupAttachment resource.

  • user_pool_id (str) – The UserPoolId of the UserPoolUserToGroupAttachment resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cognito as cognito

user_pool_user_to_group_attachment_reference = cognito.UserPoolUserToGroupAttachmentReference(
    group_name="groupName",
    username="username",
    user_pool_id="userPoolId"
)

Attributes

group_name

The GroupName of the UserPoolUserToGroupAttachment resource.

user_pool_id

The UserPoolId of the UserPoolUserToGroupAttachment resource.

username

The Username of the UserPoolUserToGroupAttachment resource.