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.243.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed56b2368a2bfaa10cf76cff8e83b53ee46e1677605ddaf9dd47d62aafdc6854 |
|
MD5 | f95939060b26729f8ad5b51be5e60f61 |
|
BLAKE2b-256 | 1fddd64ed49659b468cb6db5c7f377a00819b11c58d8a26657326c87115767e7 |
Close
Hashes for cdk_lambda_layer_zip-1.0.243-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e577fae4ae5700624b784ab8da63542e4e68001ebcb93496e4fd090c1e72920 |
|
MD5 | 14128ddba8c587e881dab2d43908e565 |
|
BLAKE2b-256 | 1f250a7c20bb649c18058432803cea9b9351b2de59558035ddf7941323e816de |