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.54.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36e87b45a9c28d186b8fa8d7016397495d55e66ba26f0c655686a36910f8708e |
|
MD5 | abef37202216ef257cdf694ebba8af73 |
|
BLAKE2b-256 | ab690cd855c81ec8d697efef94d56c9a5a0312fa8e940cd612ad931134a2fac7 |
Close
Hashes for cdk_lambda_layer_zip-2.0.54-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67bf3c6e1d371573135b94240b09968b0580d5d22a3167c8b7ec9fe52458dede |
|
MD5 | 75e85d8b58167152759ef96f6de13941 |
|
BLAKE2b-256 | b12704f96f5ab4a76662b2410144f86c802f40950ee14b133dace4145b2401ad |