boxlang-runtime-aws-lambda

Automate building, deploying, and debugging BoxLang applications on AWS Lambda.

16|78|Updated Nov 28, 2014
One-click install
npx skills add https://github.com/ortus-docs/coldbox-docs --skill boxlang-runtime-aws-lambda
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: boxlang-runtime-aws-lambda
Source: https://github.com/ortus-docs/coldbox-docs/tree/main/.agents/skills/boxlang-runtime-aws-lambda
Command: npx skills add https://github.com/ortus-docs/coldbox-docs --skill boxlang-runtime-aws-lambda

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables developers to run BoxLang applications on AWS Lambda by providing a prebuilt runtime, a standardized Lambda handler, and a guided deployment path that handles serialization, lifecycle events, and error management.

Core Features & Use Cases

  • BoxLang Lambda runtime with LambdaRunner::handleRequest for end-to-end request handling.
  • Starter project templates and lifecycle hooks in Application.bx to manage cold starts and per-request initialization.
  • Local development and cloud deployment workflows via SAM CLI and the BoxLang toolchain for serverless apps.

Quick Start

Deploy the official BoxLang Lambda starter and run a sample Lambda.bx to verify deployment.

Frequently Asked Questions about boxlang-runtime-aws-lambda

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a BoxLang application to AWS Lambda?

To deploy a BoxLang application to AWS Lambda, use the official starter project templates and the LambdaRunner::handleRequest handler to automate the build, configuration, and serverless deployment lifecycle.

Can I test BoxLang Lambda functions locally before cloud deployment?

Yes, you can test BoxLang Lambda functions locally using the AWS SAM CLI alongside the BoxLang toolchain to simulate the serverless execution environment and verify handler responses before cloud deployment.

How do I manage cold starts and initialization in a BoxLang serverless app?

You manage cold starts and per-request initialization in a BoxLang serverless app by configuring lifecycle hooks within the Application.bx file to control execution states across Lambda invocations.

Does AWS Lambda support custom Java runtime handlers for BoxLang modules?

Yes, AWS Lambda supports custom Java runtime handlers for BoxLang through a prebuilt handler that manages module loading, environment variables, and serialization via boxlang.json configurations.

What is the best way to structure a multi-function serverless app with BoxLang?

The best way to structure a multi-function BoxLang serverless app is using the official starter project, which provides standardized lifecycle hooks, handler configurations, and boxlang.json module management across separate Lambda functions.