UserPoolUserReference

class aws_cdk.aws_cognito.UserPoolUserReference(*, username, user_pool_id)

Bases: object

A reference to a UserPoolUser resource.

Parameters:
  • username (str) – The Username of the UserPoolUser resource.

  • user_pool_id (str) – The UserPoolId of the UserPoolUser 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_reference = cognito.UserPoolUserReference(
    username="username",
    user_pool_id="userPoolId"
)

Attributes

user_pool_id

The UserPoolId of the UserPoolUser resource.

username

The Username of the UserPoolUser resource.