Class RoleMappingRule.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cognito.identitypool.alpha.RoleMappingRule.Jsii$Proxy
All Implemented Interfaces:
RoleMappingRule, software.amazon.jsii.JsiiSerializable
Enclosing interface:
RoleMappingRule

@Stability(Experimental) @Internal public static final class RoleMappingRule.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RoleMappingRule
An implementation for RoleMappingRule
  • 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.identitypool.alpha.RoleMappingRule

    RoleMappingRule.Builder, RoleMappingRule.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the RoleMappingRule.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 Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final String
    (experimental) The key sent in the token by the federated Identity Provider.
    final String
    (experimental) The value of the claim that must be matched.
    final IRole
    (experimental) The role to be assumed when the claim value is matched.
    (experimental) How to match with the claim value.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected Jsii$Proxy(RoleMappingRule.Builder builder)
      Constructor that initializes the object based on literal property values passed by the RoleMappingRule.Builder.
  • Method Details

    • getClaim

      public final String getClaim()
      Description copied from interface: RoleMappingRule
      (experimental) The key sent in the token by the federated Identity Provider.
      Specified by:
      getClaim in interface RoleMappingRule
    • getClaimValue

      public final String getClaimValue()
      Description copied from interface: RoleMappingRule
      (experimental) The value of the claim that must be matched.
      Specified by:
      getClaimValue in interface RoleMappingRule
    • getMappedRole

      public final IRole getMappedRole()
      Description copied from interface: RoleMappingRule
      (experimental) The role to be assumed when the claim value is matched.
      Specified by:
      getMappedRole in interface RoleMappingRule
    • getMatchType

      public final RoleMappingMatchType getMatchType()
      Description copied from interface: RoleMappingRule
      (experimental) How to match with the claim value.

      Default: RoleMappingMatchType.EQUALS

      Specified by:
      getMatchType in interface RoleMappingRule
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object