public static final class CfnIdentityPoolRoleAttachment.RoleMappingProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnIdentityPoolRoleAttachment.RoleMappingProperty
CfnIdentityPoolRoleAttachment.RoleMappingProperty
CfnIdentityPoolRoleAttachment.RoleMappingProperty.Builder, CfnIdentityPoolRoleAttachment.RoleMappingProperty.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 |
getAmbiguousRoleResolution()
Specifies the action to be taken if either no rules match the claim value for the Rules type, or there is no `cognito:preferred_role` claim and there are multiple `cognito:roles` matches for the Token type.
|
java.lang.String |
getIdentityProvider()
Identifier for the identity provider for which the role is mapped.
|
java.lang.Object |
getRulesConfiguration()
The rules to be used for mapping users to roles.
|
java.lang.String |
getType()
The role-mapping type.
|
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 getType()
CfnIdentityPoolRoleAttachment.RoleMappingProperty
Token
uses cognito:roles
and cognito:preferred_role
claims from the Amazon Cognito identity provider token to map groups to roles. Rules
attempts to match claims from the token to map to a role.
Valid values are Token
or Rules
.
getType
in interface CfnIdentityPoolRoleAttachment.RoleMappingProperty
public final java.lang.String getAmbiguousRoleResolution()
CfnIdentityPoolRoleAttachment.RoleMappingProperty
If you specify Token or Rules as the Type, AmbiguousRoleResolution is required.
Valid values are AuthenticatedRole
or Deny
.
getAmbiguousRoleResolution
in interface CfnIdentityPoolRoleAttachment.RoleMappingProperty
public final java.lang.String getIdentityProvider()
CfnIdentityPoolRoleAttachment.RoleMappingProperty
For example: graph.facebook.com
or cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id (http://cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id)
. This is the identity provider that is used by the user for authentication.
If the identity provider property isn't provided, the key of the entry in the RoleMappings
map is used as the identity provider.
getIdentityProvider
in interface CfnIdentityPoolRoleAttachment.RoleMappingProperty
public final java.lang.Object getRulesConfiguration()
CfnIdentityPoolRoleAttachment.RoleMappingProperty
If you specify "Rules" as the role-mapping type, RulesConfiguration is required.
getRulesConfiguration
in interface CfnIdentityPoolRoleAttachment.RoleMappingProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()