Skip to main content
  1. Write the handler, then export a Lambda handler beside it:
    lambda.ts
  2. Bundle it for Node, for example with esbuild lambda.ts --bundle --platform=node --target=node22 --outfile=dist/index.js.
  3. Create the function (Node.js 22) from dist/index.js with the handler index.handler, and add a function URL with auth type NONE. Bijection authenticates with the token in the binding’s credential, not with IAM.
  4. Set the token and give the function the same value:
  5. Bind the target to the function URL in the installation’s bindings file, then deploy:
    bindings.ts
    Set SCORING_URL with bijection env set SCORING_URL <url> before deploying. Replace the example host with the exact host returned by your provider.
Set the function’s timeout at or above the target’s within. A request that times out settles the task Unknown.