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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1c605570162b88d979fccb85b87c8ab9a5d99097050f7dc96a707266a39cc12 |
|
MD5 | 368ba26c14140a8b5f192cff6d175013 |
|
BLAKE2b-256 | cd12a06ebf2d18f4ddcde6c3e1d3771c61e3d7348e0ab1b99db31097a20af2e9 |
Close
Hashes for cdk_lambda_layer_zip-1.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57477528f2dd301213e07c39d5fc5c55d5403f5e8831f3ddbf1d4cb049c83767 |
|
MD5 | 31e1f95e4e0c7e19a0ea2fa1f86b3383 |
|
BLAKE2b-256 | b2d1388f8456357f544fdf815523ca14b494eacc4cf689353d786b0027919eb0 |