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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea9231154f45223708257fdaa9de90a699c02478e7bd952a2fc638030d8a6ff6 |
|
MD5 | a1c62a214a8d534323d81bc96ac3454e |
|
BLAKE2b-256 | 24184f89f169a2618d364ccbe161d17b2b450b3d04659d773a7fd73a950837ed |
Close
Hashes for cdk_lambda_layer_zip-2.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91cfdaf5f1874f2578468ba873d4c4a5479859b5334aa34cbb8d98ee01d5e533 |
|
MD5 | 40b922b53293e740b201e91d03c82083 |
|
BLAKE2b-256 | cf502841c57fa45db6d07b594368612ebcbe3bfb5c8ffdad858ba085cf432469 |