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.180.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9be988b88dfcd8c911f7f48be1cae4ec333c9d37247ae18363f9ffb459fc5b32 |
|
MD5 | 0803ef444ee3ac59d644b4f33355986e |
|
BLAKE2b-256 | 4f246c879fd53cd097fa0378a600c63629a97b2b295d37230cf79b201ce2b4cc |
Close
Hashes for cdk_lambda_layer_zip-2.0.180-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94ad32090d86aae0fb267acf5e3ae015c90b26c04d0c7ce99ba2ee32b97370e4 |
|
MD5 | ca2839c0a882f9c3264de4dc2e88a1b6 |
|
BLAKE2b-256 | a2eeea0a48db4608acf96111b3e225b1782b1b4033b68122a4c2d46de2aa323d |