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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e633a4c42fe85023edb2d0d1ab2317cd7f6630776ce1fb36a378e0f205bd61d |
|
MD5 | 2836bfb7d505f35cbb77013b7553d8a4 |
|
BLAKE2b-256 | 498aa5e7cc67593b755514c2e277ed8fccf9968b539d34d2e67491cb3f046e6a |
Close
Hashes for cdk_lambda_layer_zip-2.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd64a6a313f13b01599803f42d960a66e3d2664c07fd4b47c3624dae1d7528fd |
|
MD5 | 8ff21cc9b69fd425e280f7f6ceaf0c32 |
|
BLAKE2b-256 | 2e882e585e33a364deb91b625bb0005686aa679b86b0f51c761934b97385e385 |