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.246.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58642f62fcaf9ed3502599d5b6c7e6c2a26e4326c2f7eaded0ea46bf8644f546 |
|
MD5 | 87f5a9432beed7f71d358bedfa78a53a |
|
BLAKE2b-256 | 6b32422829acf63ad584f6c41fb034449dee1406a177375bdd17de1c1659287d |
Close
Hashes for cdk_lambda_layer_zip-1.0.246-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39b6651844282684c2492808d729f4f6d2e9d28850d3299ec65d6e68389b7326 |
|
MD5 | af7dc32b20950f63ddda93233b9536de |
|
BLAKE2b-256 | 0f2d3b364261c0bbf4e3ced9f537cd58e2255eb01bf7a0e491d0ff4a76681343 |