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 StringSpecifies the action to be taken if either no rules match the claim value for the Rules type, or there is nocognito:preferred_roleclaim and there are multiplecognito:rolesmatches for the Token type.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.Tokenusescognito:rolesandcognito:preferred_roleclaims from the Amazon Cognito identity provider token to map groups to roles.Rulesattempts to match claims from the token to map to a role.Valid values are
TokenorRules.- Specified by:
getTypein interfaceCfnIdentityPoolRoleAttachment.RoleMappingProperty
-
getAmbiguousRoleResolution
Description copied from interface:CfnIdentityPoolRoleAttachment.RoleMappingPropertySpecifies the action to be taken if either no rules match the claim value for the Rules type, or there is nocognito:preferred_roleclaim and there are multiplecognito:rolesmatches for the Token type.If you specify Token or Rules as the Type, AmbiguousRoleResolution is required.
Valid values are
AuthenticatedRoleorDeny.- Specified by:
getAmbiguousRoleResolutionin interfaceCfnIdentityPoolRoleAttachment.RoleMappingProperty
-
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
-
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.
- Specified by:
getRulesConfigurationin interfaceCfnIdentityPoolRoleAttachment.RoleMappingProperty
-
$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()
-