Class CfnIdentityPoolRoleAttachment.RoleMappingProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnIdentityPoolRoleAttachment.RoleMappingProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnIdentityPoolRoleAttachment.RoleMappingProperty
CfnIdentityPoolRoleAttachment.RoleMappingProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cognito.CfnIdentityPoolRoleAttachment.RoleMappingProperty
CfnIdentityPoolRoleAttachment.RoleMappingProperty.Builder, CfnIdentityPoolRoleAttachment.RoleMappingProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnIdentityPoolRoleAttachment.RoleMappingProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
If you specify Token or Rules as theType
,AmbiguousRoleResolution
is required.final String
Identifier for the identity provider for which the role is mapped.final Object
The rules to be used for mapping users to roles.final String
getType()
The role mapping type.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnIdentityPoolRoleAttachment.RoleMappingProperty.Builder
.
-
-
Method Details
-
getType
Description copied from interface:CfnIdentityPoolRoleAttachment.RoleMappingProperty
The role mapping type.Token will use
cognito:roles
andcognito:preferred_role
claims from the Cognito identity provider token to map groups to roles. Rules will attempt to match claims from the token to map to a role.- Specified by:
getType
in interfaceCfnIdentityPoolRoleAttachment.RoleMappingProperty
- See Also:
-
getAmbiguousRoleResolution
Description copied from interface:CfnIdentityPoolRoleAttachment.RoleMappingProperty
If you specify Token or Rules as theType
,AmbiguousRoleResolution
is required.Specifies the action to be taken if either no rules match the claim value for the
Rules
type, or there is nocognito:preferred_role
claim and there are multiplecognito:roles
matches for theToken
type.- Specified by:
getAmbiguousRoleResolution
in interfaceCfnIdentityPoolRoleAttachment.RoleMappingProperty
- See Also:
-
getIdentityProvider
Description copied from interface:CfnIdentityPoolRoleAttachment.RoleMappingProperty
Identifier for the identity provider for which the role is mapped.For example:
graph.facebook.com
orcognito-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.- Specified by:
getIdentityProvider
in interfaceCfnIdentityPoolRoleAttachment.RoleMappingProperty
- See Also:
-
getRulesConfiguration
Description copied from interface:CfnIdentityPoolRoleAttachment.RoleMappingProperty
The rules to be used for mapping users to roles.If you specify "Rules" as the role-mapping type, RulesConfiguration is required.
- Specified by:
getRulesConfiguration
in interfaceCfnIdentityPoolRoleAttachment.RoleMappingProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-