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.332.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d9baccc5ffb46435c3d218df62e001854adc03351b8ce7ca92ecde1c423e397 |
|
MD5 | 6cead8d4d7f91efde45dd522f5c829de |
|
BLAKE2b-256 | 6391ebbc1ee07fbc00b9625515f0e0c318efab8f874db57f06f47134b6c7458a |
Close
Hashes for cdk_lambda_layer_zip-2.0.332-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4aa6141a4c1676d0100adb6ab684e9437f92daf37d2e5d357192c5993db93e0e |
|
MD5 | 6a3b92aa99863ea99b8d9a807eb02c3e |
|
BLAKE2b-256 | fe0e62ddaa77eac8adb11110a8c690eab6d08ea095e2ac17d169e961286e5675 |