Skip to content

Repository files navigation

AWS CDK Lambda Helpers npm version

Test and Release semantic-release Renovate @commitlint/config-conventional code style: prettier ESLint: TypeScript

Helper functions which simplify working with TypeScript lambdas for AWS CDK.

Installation

npm i --save-dev --save-exact @bifravst/aws-cdk-lambda-helpers

Usage

See the end-to-end test stack.

updateLambdaCode() helper

updateLambdaCode() is a helper that will update the function code of a lambda directly without a CloudFormation deployment, which is many times faster. This is useful during development.

See this example on how to use it.

Example migrations to @bifravst/aws-cdk-lambda-helpers

Node & NPM

This project requires Node.js >=24.19.0 <25 and npm >=12.0.2 <13 (enforced via check-node-version on npm install and npm ci).

The check is skipped during npm publish and npm pack, because semantic-release bundles its own npm (@semantic-release/npm depends on npm@^11.6.2) and runs the publish with that version rather than the one installed in CI.

TypeScript 6 and 7

This repo runs TypeScript 6 and 7 side by side, so that eslint works.

About

Helper functions which simplify working with TypeScript lambdas for AWS CDK.

Topics

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages