public static final class CfnUserPoolGroupProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnUserPoolGroupProps
CfnUserPoolGroupProps
CfnUserPoolGroupProps.Builder, CfnUserPoolGroupProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDescription()
A string containing the description of the group.
|
java.lang.String |
getGroupName()
The name of the group.
|
java.lang.Number |
getPrecedence()
A non-negative integer value that specifies the precedence of this group relative to the other groups that a user can belong to in the user pool.
|
java.lang.String |
getRoleArn()
The role Amazon Resource Name (ARN) for the group.
|
java.lang.String |
getUserPoolId()
The user pool ID for the user pool.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getUserPoolId()
CfnUserPoolGroupProps
getUserPoolId
in interface CfnUserPoolGroupProps
public final java.lang.String getDescription()
CfnUserPoolGroupProps
getDescription
in interface CfnUserPoolGroupProps
public final java.lang.String getGroupName()
CfnUserPoolGroupProps
Must be unique.
getGroupName
in interface CfnUserPoolGroupProps
public final java.lang.Number getPrecedence()
CfnUserPoolGroupProps
Zero is the highest precedence value. Groups with lower Precedence
values take precedence over groups with higher or null Precedence
values. If a user belongs to two or more groups, it is the group with the lowest precedence value whose role ARN is given in the user's tokens for the cognito:roles
and cognito:preferred_role
claims.
Two groups can have the same Precedence
value. If this happens, neither group takes precedence over the other. If two groups with the same Precedence
have the same role ARN, that role is used in the cognito:preferred_role
claim in tokens for users in each group. If the two groups have different role ARNs, the cognito:preferred_role
claim isn't set in users' tokens.
The default Precedence
value is null. The maximum Precedence
value is 2^31-1
.
getPrecedence
in interface CfnUserPoolGroupProps
public final java.lang.String getRoleArn()
CfnUserPoolGroupProps
getRoleArn
in interface CfnUserPoolGroupProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()