Skip to main content

restApiAuthorizer

Callable

  • restApiAuthorizer<D, Configuration, Service, Profile, Path, Query, Headers, Context, Security>(definition: D & RequestAuthorizerHandler<Configuration, Service, Profile, Path, Query, Headers, Context, Security, rest>, __namedParameters?: { _kernel?: <Configuration, Service, Profile, Path, Query, Headers, Context, Security, GV>(handler: RequestAuthorizerHandler<Configuration, Service, Profile, Path, Query, Headers, Context, Security, GV>, event: APIGatewayRequestAuthorizerEventV2Schema | APIGatewayRequestAuthorizerEventSchema, context: LambdaContext<Configuration, Service, Profile>) => Promise<Try<APIGatewayIAMAuthorizerResult | APIGatewaySimpleAuthorizerResult>> }): D & EventHandlerFn<Configuration, Service, Profile>

  • Type parameters

    • D
    • Configuration = undefined
    • Service: undefined | DefaultServices = undefined
    • Profile: MaybeGenericParser = undefined
    • Path: MaybeGenericParser = undefined
    • Query: MaybeGenericParser = undefined
    • Headers: MaybeGenericParser = undefined
    • Context: MaybeGenericParser = undefined
    • Security: undefined | SecuritySchemes = undefined

    Parameters

    Returns D & EventHandlerFn<Configuration, Service, Profile>