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-1.0.79.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb9a5c1a6585f57ea7f70cab3a90686328b971b32189765c66fced1e09918817 |
|
MD5 | 97a9368cbbe0087210ca061fdc9c76c8 |
|
BLAKE2b-256 | bb423bf5b0e31abdb1dbe454bfe7489c7737a60b13c1941ffa509f89048ca7fb |
Close
Hashes for cdk_lambda_layer_zip-1.0.79-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2658e78a7ca093108caba3a68fc7addc7f870a935752e5b661d03ce8d4e587c4 |
|
MD5 | c91d565157707490a709e297e5c5bc8f |
|
BLAKE2b-256 | 858f11165d9941eb57f85be499eaabe90c756b1106486fb038def421cac86419 |