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.32.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5e2020973d13f331fd895281eb271cc4044c1dfb6cc7e3c39efa70e60028148 |
|
MD5 | 181b22d7211defa69ceed90bc6fdb8a6 |
|
BLAKE2b-256 | 8aa59bb294f85ab6d589ce5135194bed28e80a9a838d336b3993fc2fd407a799 |
Close
Hashes for cdk_lambda_layer_zip-1.0.32-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6f9b1d8244d3bf1e182eee746c730acf33f3a69a4c30441f2b38e5c4359802d |
|
MD5 | 255c7510bec2483a8192a7c15df5a15a |
|
BLAKE2b-256 | 28b1c5f536272c542a6b5ed46cf06d9f622d1d28c830129562793a854e1584b1 |