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.31.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78c6b5ebef76cb6ed35c982e7ae4083c0bf277a3be304438ed995720fad9400b |
|
MD5 | eb472e0bfa05720b803a2f034f1461ba |
|
BLAKE2b-256 | afeba8ab4e06b1bb47eae7e007e82a39ec75bda87c5031f7a2f7282c1761ec90 |
Close
Hashes for cdk_lambda_layer_zip-2.0.31-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f4b52c4882e480cc680ed807cb38b4621e7abcbf40b9f14ecde9d8062875ffb |
|
MD5 | b6b3bf736fbcfa2a5e1bee14144c4d46 |
|
BLAKE2b-256 | 3b9352882a3d73fd668770a924e902d52175d93e88989bc10353c160f63d1316 |