@Stability(value=Stable) @Internal public static final class CfnIdentityPoolRoleAttachment.RoleMappingProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnIdentityPoolRoleAttachment.RoleMappingProperty
CfnIdentityPoolRoleAttachment.RoleMappingPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnIdentityPoolRoleAttachment.RoleMappingProperty.Builder, CfnIdentityPoolRoleAttachment.RoleMappingProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnIdentityPoolRoleAttachment.RoleMappingProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnIdentityPoolRoleAttachment.MappingRuleProperty.Builder. |
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(Object o) |
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.
|
String |
getIdentityProvider()
Identifier for the identity provider for which the role is mapped.
|
Object |
getRulesConfiguration()
The rules to be used for mapping users to roles.
|
String |
getType()
The role-mapping type.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnIdentityPoolRoleAttachment.RoleMappingProperty.Builder builder)
CfnIdentityPoolRoleAttachment.MappingRuleProperty.Builder.public final 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.RoleMappingPropertypublic final String getAmbiguousRoleResolution()
CfnIdentityPoolRoleAttachment.RoleMappingPropertyIf you specify Token or Rules as the Type, AmbiguousRoleResolution is required.
Valid values are AuthenticatedRole or Deny .
getAmbiguousRoleResolution in interface CfnIdentityPoolRoleAttachment.RoleMappingPropertypublic final 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.RoleMappingPropertypublic final Object getRulesConfiguration()
CfnIdentityPoolRoleAttachment.RoleMappingPropertyIf you specify "Rules" as the role-mapping type, RulesConfiguration is required.
getRulesConfiguration in interface CfnIdentityPoolRoleAttachment.RoleMappingProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.