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.154.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4355ec23beccf604ad6d96a306711aa42b2d3932a308ec23950eb666d6b37c17 |
|
MD5 | e632a04da966991cb2e96eaf16fa60ab |
|
BLAKE2b-256 | 2d0410ee507ddd7689c2a6f7e6b8892561b5693e5009b7875f085957fd0d6783 |
Close
Hashes for cdk_lambda_layer_zip-1.0.154-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c26db72be5ea3f2903b9bc761878262fc2477fb04920861aed1a5b00a636c53 |
|
MD5 | a0267172ec7395a064683b6471600df8 |
|
BLAKE2b-256 | fd8b70f8edde7171287ffe92c226eb16f350f190c298e2efbc722b453305fa50 |