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.147.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 796a2354d0d1e240390caea70fb931e409f81d90b21529fa3c92cb3a83c82daf |
|
MD5 | a41ee663cc9a01bd22c480e049f06a37 |
|
BLAKE2b-256 | 51f7b7188c133fc21b1b1c03be97140d90d9442d87ea5d357fd3ef9d555ab833 |
Close
Hashes for cdk_lambda_layer_zip-1.0.147-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb85e67b17d55e8974564cdc8d2599ac8467670bf33acb5f72913cec5fa38fc0 |
|
MD5 | 92dd48fde0c8362a33e2c5393b71c847 |
|
BLAKE2b-256 | a3ea5ec837a1d9469476e48843ea5620b7f62f6580c16cbf94fc1cca6fb34175 |