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.277.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb4fabb9f9ed2989119dd40a92dc501f1aa54c8a5c82312702b442a480a9a541 |
|
MD5 | 38067ef5f8e20cf33a4f38e8f238012d |
|
BLAKE2b-256 | fe2c39884383a37a2449e7dde521eb885d1f101005d585251ef55b8c0450de03 |
Close
Hashes for cdk_lambda_layer_zip-1.0.277-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaf8c8e74ce868746d35f26f601bec092c50d4b3fa508e3dd018038d6be09f70 |
|
MD5 | fa16378906b13237b1b7fc2c7bd24173 |
|
BLAKE2b-256 | f17dd57bc4afd073822c99fdab6b736a2d4bd5cfcdc059bf5e41e5e7a59bb9c7 |