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.260.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a3443af547b8eaf97f6e6ceeb43ad46b37f48b762d9598f9b8d3033aa8d96ba |
|
MD5 | dc00f1f3b34ce3f6a2ca85643e36e820 |
|
BLAKE2b-256 | 454759a8c49de8efc5a424d446465305fde69de07a50543d86b3a6cce50cc406 |
Close
Hashes for cdk_lambda_layer_zip-2.0.260-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12a7baa28c6126f7a0d6b8d05570ab4e8f36aa28480f139a94b32d8e76c01fa6 |
|
MD5 | e40af1c754bc98a02bde05d1939433de |
|
BLAKE2b-256 | bf19e9a99e4973670df941fcd16c7ca302842bd553b5956a176ef8a6dd955a92 |