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.276.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9ec036d9cb1285cc45b075685e38b46b25bfbea61dba92632820c8731f4a529 |
|
MD5 | a80d0adb0522afce876e85721d88a552 |
|
BLAKE2b-256 | dc7b24c671f3fda621a1a443444e443bcd68d66f1481ffb95ee7a2e07ad7e937 |
Close
Hashes for cdk_lambda_layer_zip-2.0.276-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93004a44794e4a4f2a793cfa1ecf94020d953852ea6eab6c761befd663e3d921 |
|
MD5 | 534430327a002b8ea2bcbb9701a1bf48 |
|
BLAKE2b-256 | 47ecd811c5430097a7dc0467cd23bc6d8bc12cc05e8bb5f5d39bf92edc836c8f |