Functions
Convert AWS Lambda source
Convert AWS Lambda handler code to a Raff function. Stateless — nothing is stored; review the output, then create a function and deploy the returned files.
Two modes:
- rewrite (default) — AI rewrites the handler to a portable standard handler (FastAPI / Web Fetch / net/http). Every guess is flagged in warnings. 5 free per calendar month, then $0.30 per conversion from your balance. Up to 64KB of source.
- adapter — your code ships unchanged plus a small static shim that presents API-Gateway-style events. Instant, free, unlimited.
Config always maps deterministically: memory/timeout, env vars to raff_toml, EventBridge rate() schedules to cron trigger proposals. IAM, VPC, layers and stream sources are listed in out_of_scope with alternatives.
post/api/v1/functions/import/lambda
Request body
Response
Conversion result (review before deploying)