lambda-utils
@axis-tech-co/axis-lambda-utils is the runtime companion to the constructs: helpers your handler code imports at execution time, not synth time. Where constructs shape infrastructure, lambda-utils shapes what runs inside a function.
The helpers
Section titled “The helpers”- Masked Logger — structured logging that scrubs secret-shaped values.
- Tracer — X-Ray tracing over AWS Lambda Powertools.
- Middy Middleware — the error-handler and logging middleware.
- Dynamo & SSM Helpers — thin, typed runtime access.
- Alerting Adapter — the Slack/Teams dispatcher the observability stack deploys.
Typed errors
Section titled “Typed errors”The package also exports typed error classes — AtfError and its subclasses (NotFoundError, ValidationError, ForbiddenError, ConflictError, QuotaExceededError) — plus serializeError and statusCodeFor. Throw a typed error from service code and the error-handler middleware maps it to the right HTTP status. The full class list is in the generated API reference.
© 2026 Axis Tech. Powered by axis-tech.co.