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.48.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e2b81fccfdd2a2820dff5ec0fe9a14d34767c9122859736acbb9899b8234ceb |
|
MD5 | 06ca04522db77c78d22e64b2922506df |
|
BLAKE2b-256 | 35ecd02d9882f1f64dbe2203b60f54cfa110ece3c1f9a47cc39bb902ae5df17f |
Close
Hashes for cdk_lambda_layer_zip-2.0.48-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1686aad8032ed493f758eb7901873537fca81a17e46c28bf13c33810a2e185ae |
|
MD5 | 0522f18971cf6dc622a4c313db3bdab5 |
|
BLAKE2b-256 | 16c6f7c8b064d51ad14f78e48b75d27763269116f8a447a72c2658ff02712ad8 |