Interface LambdaHttpConfig


@ConfigRoot(phase=RUN_TIME) @ConfigMapping(prefix="quarkus.lambda-http") public interface LambdaHttpConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    Regular expression to locate role values within a Cognito claim string.
    Cognito claim that contains roles you want to map.
    boolean
    If true, Quarkus will map claims from Cognito to Quarkus security roles.
  • Method Details

    • mapCognitoToRoles

      @WithDefault("true") boolean mapCognitoToRoles()
      If true, Quarkus will map claims from Cognito to Quarkus security roles. The "cognito:groups" claim will be used by default. Change cognitoRoleClaim config value to change the claim source.

      True by default

    • cognitoRoleClaim

      @WithDefault("cognito:groups") String cognitoRoleClaim()
      Cognito claim that contains roles you want to map. Defaults to "cognito:groups"
    • cognitoClaimMatcher

      @WithDefault("[^\\[\\] \\t]+") String cognitoClaimMatcher()
      Regular expression to locate role values within a Cognito claim string. By default, it looks for space delimited strings enclosed in brackets "[^\[\] \t]+"