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.206.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e0f2bbb8850f84e80a3e97bbce4358f975e128fd9881c6861301bd3b9269f7f |
|
MD5 | 0d7d77eb0d2ff10cff2236ea1fd5c1aa |
|
BLAKE2b-256 | b9f1c92bd26c13de86ada2762498934812b926c65b71e4dee37f96370b0bba3b |
Close
Hashes for cdk_lambda_layer_zip-2.0.206-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 478228b47caa813a15cbfa93cbd3e02bb3f66b0fd73189a3948d628ec26bb33d |
|
MD5 | 32429c9b5b3e9dca9ddf213e159c4404 |
|
BLAKE2b-256 | f89737541a0beadc970b14aabfd4d4dad480251f6a62c004d5780a46fa1f0c7d |