This is a project template for a very minimal lambda environment which runs bun and allows for shared code in the form of a dependency layer.
To deploy this, you'll need to have built the bun layer via bun run build:bun in the root directory.
Thank you ❤️ to the @oven-sh team for maintaining the lambda runtime layer.
The cdk.json file tells the CDK Toolkit how to execute your app.
bun run buildcompile typescript to jsbun run build:buncompile the bun lambda layerbun run watchwatch for changes and compilebun run testperform the jest unit testsbunx cdk deploydeploy this stack to your default AWS account/regionbunx cdk diffcompare deployed stack with current statebunx cdk synthemits the synthesized CloudFormation template