Class IdentityPoolRoleMapping.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cognito.identitypool.IdentityPoolRoleMapping.Jsii$Proxy
- All Implemented Interfaces:
IdentityPoolRoleMapping,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
IdentityPoolRoleMapping
@Stability(Stable)
@Internal
public static final class IdentityPoolRoleMapping.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements IdentityPoolRoleMapping
An implementation for
IdentityPoolRoleMapping-
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.identitypool.IdentityPoolRoleMapping
IdentityPoolRoleMapping.Builder, IdentityPoolRoleMapping.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theIdentityPoolRoleMapping.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 StringThe key used for the role mapping in the role mapping hash.final IdentityPoolProviderUrlThe url of the Provider for which the role is mapped.final BooleanAllow for role assumption when results of role mapping are ambiguous.final List<RoleMappingRule> getRules()The claim and value that must be matched in order to assume the role.final BooleanIf true then mapped roles must be passed through the cognito:roles or cognito:preferred_role claims from Identity Provider.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 theIdentityPoolRoleMapping.Builder.
-
-
Method Details
-
getProviderUrl
Description copied from interface:IdentityPoolRoleMappingThe url of the Provider for which the role is mapped.- Specified by:
getProviderUrlin interfaceIdentityPoolRoleMapping
-
getMappingKey
Description copied from interface:IdentityPoolRoleMappingThe key used for the role mapping in the role mapping hash.Required if the providerUrl is a token.
Default: - The provided providerUrl
- Specified by:
getMappingKeyin interfaceIdentityPoolRoleMapping
-
getResolveAmbiguousRoles
Description copied from interface:IdentityPoolRoleMappingAllow for role assumption when results of role mapping are ambiguous.Default: false - Ambiguous role resolutions will lead to requester being denied
- Specified by:
getResolveAmbiguousRolesin interfaceIdentityPoolRoleMapping
-
getRules
Description copied from interface:IdentityPoolRoleMappingThe claim and value that must be matched in order to assume the role.Required if useToken is false
Default: - No role mapping rule
- Specified by:
getRulesin interfaceIdentityPoolRoleMapping
-
getUseToken
Description copied from interface:IdentityPoolRoleMappingIf true then mapped roles must be passed through the cognito:roles or cognito:preferred_role claims from Identity Provider.Default: false
- Specified by:
getUseTokenin interfaceIdentityPoolRoleMapping- 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()
-