UserPoolReference

class aws_cdk.aws_cognito.UserPoolReference(*, user_pool_arn, user_pool_id)

Bases: object

A reference to a UserPool resource.

Parameters:
  • user_pool_arn (str) – The ARN of the UserPool resource.

  • user_pool_id (str) – The UserPoolId of the UserPool 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_reference = cognito.UserPoolReference(
    user_pool_arn="userPoolArn",
    user_pool_id="userPoolId"
)

Attributes

user_pool_arn

The ARN of the UserPool resource.

user_pool_id

The UserPoolId of the UserPool resource.