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.167.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a947828d5a6d9548ac8f7bb20fc604abb13a3b0e75f1d510032bcfe854381e78 |
|
MD5 | 20e46abfe81d106646b9b825e60424a9 |
|
BLAKE2b-256 | 30364802758d82de1432a86bf88a56f5ea4079c19bd80cd05b8204a562754dde |
Close
Hashes for cdk_lambda_layer_zip-2.0.167-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0c7eeb36b7e087f1ae5f5fd4ee3396f9db5938b4303a8c56764461cf4db6a5c |
|
MD5 | 5bc3183b687cf2c5028d29515430e8be |
|
BLAKE2b-256 | eb6cbb3ecdcc946eeaa4a26c5d6be7bfcaf0f2c0c9c565990c5137f2d7b10453 |