Class CognitoPrincipal

  • All Implemented Interfaces:
    Principal

    public class CognitoPrincipal
    extends Object
    implements Principal
    Allocated when cognito is used to authenticate user Will only be allocated if requestContext.authorizer.claims.cognito:username is set in the http event sent by API Gateway