Lambda Layer for tar gz 7z
Project description
AWS Lambda Layer with zip
Usage:
// ZipLayer bundles the tar gzip 7z in a lambda layer
import { ZipLayer } from 'cdk-lambda-layer-zip';
declare const fn: lambda.Function;
fn.addLayers(new ZipLayer(this, 'ZipLayer'));
import { ZipLayer } from 'cdk-lambda-layer-zip'
import * as lambda from 'aws-cdk-lib/aws-lambda'
new lambda.Function(this, 'MyLambda', {
code: lambda.Code.fromAsset(path.join(__dirname, 'my-lambda-handler')),
handler: 'index.main',
runtime: lambda.Runtime.PYTHON_3_9,
layers: [new ZipLayer(this, 'ZipLayer')]
});
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cdk-lambda-layer-zip-2.0.93.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a64abd1effb5f0b2b75842cb50fcb583c61e43b70ed7b649cfb19e49bc23db39 |
|
MD5 | c6951a64381439369efde582c1368656 |
|
BLAKE2b-256 | e65dde58440799fc1c2406c855c080158fd267ab1bceb064f57c44984c1db240 |
Close
Hashes for cdk_lambda_layer_zip-2.0.93-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 233e59928402909649362783dfe8d3c125d904ac5a5ba41aa6623315220991a2 |
|
MD5 | db9bfa005e07b4f41f4bb781ece78f4e |
|
BLAKE2b-256 | d374b31c68b3dc37a1febd5d0a6e87587b296eef7716c98d893e818869238d73 |