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.170.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c73f7ea3bd5330577d29ef81f6a040c1466ee12e9fcfb5448ad535dd4ca6d588 |
|
MD5 | d427cbcef2b370813b2672487ae63fe0 |
|
BLAKE2b-256 | f2c687e7401275a34b50beab03586f2afd0d4b8bfc132edacc2796485483f485 |
Close
Hashes for cdk_lambda_layer_zip-2.0.170-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f40e645937ea04758795cc4253b99e341dcf3ea856dcec4f4de6284ca3e41fc9 |
|
MD5 | fe7f2d8bab9b40c02ece7392e370d50b |
|
BLAKE2b-256 | 16994ad17dff146f887a995122eb9e627ea70c6f39c5c2e0b5ca7644ab13b7f3 |