Skip to main content

PRs Welcome GitHub npm (scoped) PyPI Nuget Sonatype Nexus (Releases) GitHub Workflow Status (branch) GitHub release (latest SemVer) Gitpod ready-to-code

CDK Lambda Deno

AWS CDK custom AWS Lambda runtime with Deno

Based on hayd/deno-lambda with bundled layer

Install

TypeScript

npm install @pepperize/cdk-lambda-deno

or

yarn add @pepperize/cdk-lambda-deno

Python

pip install pepperize.cdk-lambda-deno

C# / .Net

dotnet add package Pepperize.CDK.LambdaDeno

Java

<dependency>
  <groupId>com.pepperize</groupId>
  <artifactId>cdk-lambda-deno</artifactId>
  <version>${cdkLambdaDeno.version}</version>
</dependency>

Contributing

Contributions of all kinds are welcome 🚀 Check out our contributor's guide.

For a quick start, fork or check out a development environment:

git clone git@github.com:pepperize/cdk-lambda-deno
cd cdk-lambda-deno
# install dependencies
yarn
# build with projen
yarn build

Usage

  • Using the deno function construct
const stack = new Stack();

new DenoFunction(stack, "Function", {
  code: lambda.Code.fromAsset(path.join(__dirname, "../example/function")),
});
  • Using the deno layer construct
const stack = new Stack();

const layer = new DenoLayer(stack, "Layer", { version: DenoVersion.of("1.23.3") });
new lambda.Function(stack, "Function", {
  runtime: lambda.Runtime.PROVIDED_AL2,
  code: lambda.Code.fromAsset(path.join(__dirname, "../example/function")),
  handler: "index.handler",
  layers: [layer],
});

References

https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-runtime https://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom.html https://aws.amazon.com/de/blogs/compute/build-a-custom-java-runtime-for-aws-lambda/ https://docs.aws.amazon.com/lambda/latest/dg/runtimes-api.html https://github.com/hayd/deno-lambda

Metadata

Release files for pepperize.cdk-lambda-deno 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pepperize.cdk-lambda-deno 0.1.0
File Size Uploaded Provenance Actions
pepperize_cdk_lambda_deno-0.1.0.tar.gz 67.7 kB Without provenance Details for pepperize_cdk_lambda_deno-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pepperize.cdk-lambda-deno 0.1.0
File Interpreter ABI Platform Actions
pepperize_cdk_lambda_deno-0.1.0-py3-none-any.whl Python 3 none any Details for pepperize_cdk_lambda_deno-0.1.0-py3-none-any.whl

Total release size: 135.2 kB

Release files / pepperize_cdk_lambda_deno-0.1.0.tar.gz

Download URL pepperize_cdk_lambda_deno-0.1.0.tar.gz
Size 67.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ae78aa535008bc9c71f3b972ae9fb5c2c3700b04433ea61cf26feb106ec5e62d
BLAKE2b-256 checksum
How to use checksums
049d95f92bfe6510a6c7b887e9e55c2a2423335e8137719fb95864241619e443
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.15.2

Release files / pepperize_cdk_lambda_deno-0.1.0-py3-none-any.whl

Download URL pepperize_cdk_lambda_deno-0.1.0-py3-none-any.whl
Size 67.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e36c1d81f03d0d3dec804493c85410b3be9d830c78ece08c3123d10dc2dffde6
BLAKE2b-256 checksum
How to use checksums
d585f5099a74749351013143124f5ab3a8cc211fd3f9ffc2f2d052275eebdaf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.15.2

Security for pepperize.cdk-lambda-deno 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page