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.124.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94cd937713e4f432f43c8db5f0d7c97c5407c15d2aaaf4c07fcea238df1d2a4f |
|
MD5 | 3db3bbe621ef64b7538690c40f6b6be6 |
|
BLAKE2b-256 | 8a0284ef88398a4554e026c224076765037dac2a6284f26f718eafb085b1b124 |
Close
Hashes for cdk_lambda_layer_zip-1.0.124-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ae506dc78845335dd1b9c429e2241b970c2513c38619cfdfb2f46f925f7dab4 |
|
MD5 | 51b5ae834946ede90e2534c34502ebfd |
|
BLAKE2b-256 | 75c9662d1a50507dea73789247424bbaf3fe6ced71cc9d27a336d136bd09c034 |