Skip to main content

RequestAuthorizerEventHandler <Configuration, Service, Profile, Path, Query, Headers, Context, Security, GV>

Index

Properties

handler

handler: (request: NoInfer<RequestAuthorizerEvent<Path, Query, Headers, Security, GV>>, context: LambdaContext<Configuration, Service, Profile>) => Promisable<Try<AuthorizerReponse<NoInfer<Context>>>>

Type declaration

optionalschema

schema?: { context?: Schema<Context>; headers?: Schema<Headers>; path?: Schema<Path>; query?: Schema<Query> }

Type declaration

  • optionalcontext?: Schema<Context>
  • optionalheaders?: Schema<Headers>
  • optionalpath?: Schema<Path>
  • optionalquery?: Schema<Query>

optionalsecurity

security?: Security