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
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 the Token type.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
usescognito:roles
andcognito: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
orRules
.- Specified by:
getType
in interfaceCfnIdentityPoolRoleAttachment.RoleMappingProperty
-
getAmbiguousRoleResolution
Description copied from interface:CfnIdentityPoolRoleAttachment.RoleMappingProperty
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 the Token type.If you specify Token or Rules as the Type, AmbiguousRoleResolution is required.
Valid values are
AuthenticatedRole
orDeny
.- Specified by:
getAmbiguousRoleResolution
in interfaceCfnIdentityPoolRoleAttachment.RoleMappingProperty
-
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
-
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
-
$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()
-