-
Write the handler, then export a
Lambda handler beside it:
lambda.ts
-
Bundle it for Node, for example with
esbuild lambda.ts --bundle --platform=node --target=node22 --outfile=dist/index.js. -
Create the function (Node.js 22) from
dist/index.jswith the handlerindex.handler, and add a function URL with auth typeNONE. Bijection authenticates with the token in the binding’scredential, not with IAM. -
Set the token and give the function the same value:
-
Bind the target to the function URL in the installation’s bindings file, then deploy:
Setbindings.ts
SCORING_URLwithbijection env set SCORING_URL <url>before deploying. Replace the example host with the exact host returned by your provider.
within. A request that
times out settles the task Unknown.