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.274.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d4919f852498e20a9a6ec41df64a796d9b39a24ce7430a9e3715e503e5de3e0 |
|
MD5 | 82ae6aad763bb998f399f1ce033a3c67 |
|
BLAKE2b-256 | f07f39f69a2a1aaeda38b72c78959e21c0722ba5a8be39665d8a1fe5e42e288e |
Close
Hashes for cdk_lambda_layer_zip-2.0.274-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e04ef3f748cc90c8e89f02571c586f0b262f90fe2e8184f94f5396ed87b4ad57 |
|
MD5 | 2a2d12d7150386ed34e41bfe592afcdf |
|
BLAKE2b-256 | c821ef33250d97089a95da1c2f72539a6c95f772f38b1704c5b60c9a2f2495ce |