public static class AuthConfig.CognitoUserPools
extends AuthConfig
Represents a Cognito user pool used for authentication.
See here for more information about using Cognito user pools for authentication.
This should only be used if the user pool is not created as part of the same CloudFormation stack as the application.
AuthConfig.CognitoUserPools, AuthConfig.Custom| Constructor and Description |
|---|
CognitoUserPools(java.lang.String userPoolArn)
Represents a Cognito user pool used for authentication.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1()
The ARN of the Cognito user pool.
|
AuthConfig.CognitoUserPools |
copy(java.lang.String userPoolArn)
Represents a Cognito user pool used for authentication.
|
boolean |
equals(java.lang.Object p) |
java.lang.String |
getUserPoolArn()
The ARN of the Cognito user pool.
|
int |
hashCode() |
java.lang.String |
toString() |
public CognitoUserPools(java.lang.String userPoolArn)
Represents a Cognito user pool used for authentication.
See here for more information about using Cognito user pools for authentication.
This should only be used if the user pool is not created as part of the same CloudFormation stack as the application.
userPoolArn - The ARN of the Cognito user pool.public java.lang.String getUserPoolArn()
The ARN of the Cognito user pool.
public java.lang.String component1()
The ARN of the Cognito user pool.
public AuthConfig.CognitoUserPools copy(java.lang.String userPoolArn)
Represents a Cognito user pool used for authentication.
See here for more information about using Cognito user pools for authentication.
This should only be used if the user pool is not created as part of the same CloudFormation stack as the application.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)