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.286.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62cb2f21626e073520df9368040d284c3b21a73232935ccd3e6c963ab7e23ec5 |
|
MD5 | 4abc9b9f92db19dae7d9e770da7b9e68 |
|
BLAKE2b-256 | 51bef9e832c203eac548e7f7590849e23949fa7ecd3006951a6f620d4609c299 |
Close
Hashes for cdk_lambda_layer_zip-1.0.286-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b47d07bd21d7fd1b62cfa5b45f7628de304c9526509ea90614d63abf3ad0a59 |
|
MD5 | 1f3d509b18d0085aa28352a974a18a74 |
|
BLAKE2b-256 | bc8078ab091bb73ddd25c43c1d0aff663687af6ff9e301f15145bae1dd0f68ca |