[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)
[![GitHub](https://img.shields.io/github/license/pepperize/cdk-lambda-deno?style=flat-square)](https://github.com/pepperize/cdk-lambda-deno/blob/main/LICENSE)
[![npm (scoped)](https://img.shields.io/npm/v/@pepperize/cdk-lambda-deno?style=flat-square)](https://www.npmjs.com/package/@pepperize/cdk-lambda-deno)
[![PyPI](https://img.shields.io/pypi/v/pepperize.cdk-lambda-deno?style=flat-square)](https://pypi.org/project/pepperize.cdk-lambda-deno/)
[![Nuget](https://img.shields.io/nuget/v/Pepperize.CDK.LambdaDeno?style=flat-square)](https://www.nuget.org/packages/Pepperize.CDK.LambdaDeno/)
[![Sonatype Nexus (Releases)](https://img.shields.io/nexus/r/com.pepperize/cdk-lambda-deno?server=https%3A%2F%2Fs01.oss.sonatype.org%2F&style=flat-square)](https://s01.oss.sonatype.org/content/repositories/releases/com/pepperize/cdk-lambda-deno/)
[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/pepperize/cdk-lambda-deno/release.yml?branch=main&label=release&style=flat-square)](https://github.com/pepperize/cdk-lambda-deno/actions/workflows/release.yml)
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/pepperize/cdk-lambda-deno?sort=semver&style=flat-square)](https://github.com/pepperize/cdk-lambda-deno/releases)
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod&style=flat-square)](https://gitpod.io/#https://github.com/pepperize/cdk-lambda-deno)
# CDK Lambda Deno
AWS CDK custom AWS Lambda runtime with Deno
> Based on [hayd/deno-lambda](https://github.com/hayd/deno-lambda) with bundled layer
## Install
### TypeScript
```shell
npm install @pepperize/cdk-lambda-deno
```
or
```shell
yarn add @pepperize/cdk-lambda-deno
```
### Python
```shell
pip install pepperize.cdk-lambda-deno
```
### C# / .Net
```
dotnet add package Pepperize.CDK.LambdaDeno
```
### Java
```xml
<dependency>
<groupId>com.pepperize</groupId>
<artifactId>cdk-lambda-deno</artifactId>
<version>${cdkLambdaDeno.version}</version>
</dependency>
```
## Contributing
Contributions of all kinds are welcome :rocket: Check out our [contributor's guide](https://github.com/pepperize/cdk-lambda-deno/blob/main/CONTRIBUTING.md).
For a quick start, [fork or check out](https://github.com/pepperize/cdk-lambda-deno/fork) a development environment:
```shell
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
```python
const stack = new Stack();
new DenoFunction(stack, "Function", {
code: lambda.Code.fromAsset(path.join(__dirname, "../example/function")),
});
```
* Using the deno layer construct
```python
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
Raw data
{
"_id": null,
"home_page": "https://github.com/pepperize/cdk-lambda-deno.git",
"name": "pepperize.cdk-lambda-deno",
"maintainer": "",
"docs_url": null,
"requires_python": "~=3.8",
"maintainer_email": "",
"keywords": "",
"author": "Patrick Florek<patrick.florek@gmail.com>",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/45/05/e1eca61bf7d37ce74a4542fe19cda89b1cdb590467c6817f9ebd1fed2181/pepperize.cdk-lambda-deno-0.0.452.tar.gz",
"platform": null,
"description": "[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)\n[![GitHub](https://img.shields.io/github/license/pepperize/cdk-lambda-deno?style=flat-square)](https://github.com/pepperize/cdk-lambda-deno/blob/main/LICENSE)\n[![npm (scoped)](https://img.shields.io/npm/v/@pepperize/cdk-lambda-deno?style=flat-square)](https://www.npmjs.com/package/@pepperize/cdk-lambda-deno)\n[![PyPI](https://img.shields.io/pypi/v/pepperize.cdk-lambda-deno?style=flat-square)](https://pypi.org/project/pepperize.cdk-lambda-deno/)\n[![Nuget](https://img.shields.io/nuget/v/Pepperize.CDK.LambdaDeno?style=flat-square)](https://www.nuget.org/packages/Pepperize.CDK.LambdaDeno/)\n[![Sonatype Nexus (Releases)](https://img.shields.io/nexus/r/com.pepperize/cdk-lambda-deno?server=https%3A%2F%2Fs01.oss.sonatype.org%2F&style=flat-square)](https://s01.oss.sonatype.org/content/repositories/releases/com/pepperize/cdk-lambda-deno/)\n[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/pepperize/cdk-lambda-deno/release.yml?branch=main&label=release&style=flat-square)](https://github.com/pepperize/cdk-lambda-deno/actions/workflows/release.yml)\n[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/pepperize/cdk-lambda-deno?sort=semver&style=flat-square)](https://github.com/pepperize/cdk-lambda-deno/releases)\n[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod&style=flat-square)](https://gitpod.io/#https://github.com/pepperize/cdk-lambda-deno)\n\n# CDK Lambda Deno\n\nAWS CDK custom AWS Lambda runtime with Deno\n\n> Based on [hayd/deno-lambda](https://github.com/hayd/deno-lambda) with bundled layer\n\n## Install\n\n### TypeScript\n\n```shell\nnpm install @pepperize/cdk-lambda-deno\n```\n\nor\n\n```shell\nyarn add @pepperize/cdk-lambda-deno\n```\n\n### Python\n\n```shell\npip install pepperize.cdk-lambda-deno\n```\n\n### C# / .Net\n\n```\ndotnet add package Pepperize.CDK.LambdaDeno\n```\n\n### Java\n\n```xml\n<dependency>\n <groupId>com.pepperize</groupId>\n <artifactId>cdk-lambda-deno</artifactId>\n <version>${cdkLambdaDeno.version}</version>\n</dependency>\n```\n\n## Contributing\n\nContributions of all kinds are welcome :rocket: Check out our [contributor's guide](https://github.com/pepperize/cdk-lambda-deno/blob/main/CONTRIBUTING.md).\n\nFor a quick start, [fork or check out](https://github.com/pepperize/cdk-lambda-deno/fork) a development environment:\n\n```shell\ngit clone git@github.com:pepperize/cdk-lambda-deno\ncd cdk-lambda-deno\n# install dependencies\nyarn\n# build with projen\nyarn build\n```\n\n## Usage\n\n* Using the deno function construct\n\n```python\nconst stack = new Stack();\n\nnew DenoFunction(stack, \"Function\", {\n code: lambda.Code.fromAsset(path.join(__dirname, \"../example/function\")),\n});\n```\n\n* Using the deno layer construct\n\n```python\nconst stack = new Stack();\n\nconst layer = new DenoLayer(stack, \"Layer\", { version: DenoVersion.of(\"1.23.3\") });\nnew lambda.Function(stack, \"Function\", {\n runtime: lambda.Runtime.PROVIDED_AL2,\n code: lambda.Code.fromAsset(path.join(__dirname, \"../example/function\")),\n handler: \"index.handler\",\n layers: [layer],\n});\n```\n\n## References\n\nhttps://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-runtime\nhttps://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom.html\nhttps://aws.amazon.com/de/blogs/compute/build-a-custom-java-runtime-for-aws-lambda/\nhttps://docs.aws.amazon.com/lambda/latest/dg/runtimes-api.html\nhttps://github.com/hayd/deno-lambda\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "AWS CDK custom AWS Lambda runtime with Deno",
"version": "0.0.452",
"project_urls": {
"Homepage": "https://github.com/pepperize/cdk-lambda-deno.git",
"Source": "https://github.com/pepperize/cdk-lambda-deno.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2cc001b1b6332d0f237ac57d443e78a32a651e66f54ccdac4470df3a8218c4ef",
"md5": "1c3a5eafa2833c110d965f61afda2919",
"sha256": "9acc6a79b7a3a2303379752713560b404bb5ced5354c0aad18a85a872d4eb316"
},
"downloads": -1,
"filename": "pepperize.cdk_lambda_deno-0.0.452-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1c3a5eafa2833c110d965f61afda2919",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.8",
"size": 46888,
"upload_time": "2023-12-18T16:45:54",
"upload_time_iso_8601": "2023-12-18T16:45:54.198293Z",
"url": "https://files.pythonhosted.org/packages/2c/c0/01b1b6332d0f237ac57d443e78a32a651e66f54ccdac4470df3a8218c4ef/pepperize.cdk_lambda_deno-0.0.452-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4505e1eca61bf7d37ce74a4542fe19cda89b1cdb590467c6817f9ebd1fed2181",
"md5": "0cbd08de92f756dcaa0d49711a637017",
"sha256": "d588379ac1b2631f8b8532640fa8d4e55e2b29141e1c74a37b25b107b4c02fc6"
},
"downloads": -1,
"filename": "pepperize.cdk-lambda-deno-0.0.452.tar.gz",
"has_sig": false,
"md5_digest": "0cbd08de92f756dcaa0d49711a637017",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.8",
"size": 46839,
"upload_time": "2023-12-18T16:45:57",
"upload_time_iso_8601": "2023-12-18T16:45:57.865981Z",
"url": "https://files.pythonhosted.org/packages/45/05/e1eca61bf7d37ce74a4542fe19cda89b1cdb590467c6817f9ebd1fed2181/pepperize.cdk-lambda-deno-0.0.452.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-18 16:45:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pepperize",
"github_project": "cdk-lambda-deno",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pepperize.cdk-lambda-deno"
}