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.316.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0638204d91a0ce54938cc45a4ee5846ba09190dcc4681ba67bcf323683983f7 |
|
MD5 | 0c4de8b7e2dff9fa2c4843f6aaa21cf5 |
|
BLAKE2b-256 | 9703f43a3927f63eba0e606063f0f3cfbf7e8caba05ac4e5dbc17e79be000528 |
Close
Hashes for cdk_lambda_layer_zip-2.0.316-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b3fbbbcfc73bbf8531ffaf13a54fbb09ac3705edb3181ef0b654637024d732c |
|
MD5 | 009bb0f786e4bb3ffe97f979154c4569 |
|
BLAKE2b-256 | 7dec5bb938380b55d74d8d7194e3ef2e4b2ee7e0615665296f5009cdcd941720 |