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.105.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cffc76741943d7ef582e3f2ad584c4c5cfad10ec196c4d58f65f3473ba7974fe |
|
MD5 | 78cdd2177b56d2cfdbaa52b1208c8e0c |
|
BLAKE2b-256 | 2b7e9c0fea5aedca69b482a64776c565630b2afea17e8c43084c83f541f7cad0 |
Close
Hashes for cdk_lambda_layer_zip-2.0.105-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08016691f975437abfcbc6f4eaa55b78c0107c01dedcc9bc0091ec9c1fe3714f |
|
MD5 | bc2c4f1873c1ba8f034a0480323e6eaa |
|
BLAKE2b-256 | 0db46d68be9b48d4ea0906002ad1d29c86d827b4fe27e0b2191997fb92cc4650 |