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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cognito.CfnIdentityPoolRoleAttachment.RoleMappingProperty
CfnIdentityPoolRoleAttachment.RoleMappingProperty.Builder, CfnIdentityPoolRoleAttachment.RoleMappingProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnIdentityPoolRoleAttachment.RoleMappingProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal StringIf you specify Token or Rules as theType,AmbiguousRoleResolutionis required.final StringIdentifier for the identity provider for which the role is mapped.final ObjectThe rules to be used for mapping users to roles.final StringgetType()The role mapping type.final inthashCode()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.RoleMappingPropertyThe role mapping type.Token will use
cognito:rolesandcognito:preferred_roleclaims 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:
getTypein interfaceCfnIdentityPoolRoleAttachment.RoleMappingProperty- See Also:
-
getAmbiguousRoleResolution
Description copied from interface:CfnIdentityPoolRoleAttachment.RoleMappingPropertyIf you specify Token or Rules as theType,AmbiguousRoleResolutionis required.Specifies the action to be taken if either no rules match the claim value for the
Rulestype, or there is nocognito:preferred_roleclaim and there are multiplecognito:rolesmatches for theTokentype.- Specified by:
getAmbiguousRoleResolutionin interfaceCfnIdentityPoolRoleAttachment.RoleMappingProperty- See Also:
-
getIdentityProvider
Description copied from interface:CfnIdentityPoolRoleAttachment.RoleMappingPropertyIdentifier for the identity provider for which the role is mapped.For example:
graph.facebook.comorcognito-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
RoleMappingsmap is used as the identity provider.- Specified by:
getIdentityProviderin interfaceCfnIdentityPoolRoleAttachment.RoleMappingProperty- See Also:
-
getRulesConfiguration
Description copied from interface:CfnIdentityPoolRoleAttachment.RoleMappingPropertyThe rules to be used for mapping users to roles.If you specify "Rules" as the role-mapping type, RulesConfiguration is required.
Returns union: either
IResolvableorCfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty- Specified by:
getRulesConfigurationin interfaceCfnIdentityPoolRoleAttachment.RoleMappingProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-