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.272.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac8224d8c8e7d98a2667b9cdad9b3af6a529844c8e4dec841f3968ea4b3c29f3 |
|
MD5 | 24d480c6383f5e5666c7b1fbb95a9328 |
|
BLAKE2b-256 | 74f67c6d64a4b6c0f9f9891cd2b2c4d0699c94b240ed521194196e034ef066fc |
Close
Hashes for cdk_lambda_layer_zip-2.0.272-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a8b18e988bc93d5431fdca5f51650363cd09bc3e66ea12fd833f8db4b6e7601 |
|
MD5 | 39759f0244c63d0f46c5d89ac6861344 |
|
BLAKE2b-256 | 18743f5808519f42f9752940bb2c06831d952c0607dc3f3782f759228ac3d3f9 |