https://github.com/bifravst/aws-cdk-lambda-helpers
Helper functions which simplify working with TypeScript lambdas for AWS CDK.
https://github.com/bifravst/aws-cdk-lambda-helpers
aws cdk lambda typescript
Last synced: 3 months ago
JSON representation
Helper functions which simplify working with TypeScript lambdas for AWS CDK.
- Host: GitHub
- URL: https://github.com/bifravst/aws-cdk-lambda-helpers
- Owner: bifravst
- License: bsd-3-clause
- Created: 2024-04-03T13:58:42.000Z (over 2 years ago)
- Default Branch: saga
- Last Pushed: 2026-04-19T13:08:48.000Z (3 months ago)
- Last Synced: 2026-04-19T15:38:02.679Z (3 months ago)
- Topics: aws, cdk, lambda, typescript
- Language: TypeScript
- Homepage: https://github.com/bifravst/aws-cdk-lambda-helpers
- Size: 3.77 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# AWS CDK Lambda Helpers [](https://www.npmjs.com/package/@bifravst/aws-cdk-lambda-helpers)
[](https://github.com/bifravst/aws-cdk-lambda-helpers/actions/workflows/test-and-release.yaml)
[](https://github.com/semantic-release/semantic-release)
[](https://renovatebot.com)
[](https://github.com/conventional-changelog/commitlint/tree/master/@commitlint/config-conventional)
[](https://github.com/prettier/prettier/)
[](https://github.com/typescript-eslint/typescript-eslint)
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](./cdk/e2e.ts).
## `updateLambdaCode()` helper
[`updateLambdaCode()`](./src/updateLambdaCode.ts) 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](./cdk/update-lambdas.ts) on how to use it.
## Example migrations to `@bifravst/aws-cdk-lambda-helpers`
- [world.thingy.rocks backend](https://github.com/NordicPlayground/thingy-rocks-cloud-aws-js/commit/3ca6e267917db4d8cb09ca63ed54384c0e23f163)