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.217.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9dab6a038e66d71b6c4f191ca5e3b1ccbeb3cc7bcc442672fa6797aaddc8d6e |
|
MD5 | 24cff34df8b37396936b7a801df0be75 |
|
BLAKE2b-256 | 995fccfb73e5d7856c9c8dffb2a3aaa40d3285607f10af7272167265dbd91647 |
Close
Hashes for cdk_lambda_layer_zip-2.0.217-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e9fbfeefb046aab334b3c7f9fdf068fd05a462c71d6e46e0d3c44206bba4fdd |
|
MD5 | b59c2b6523282e69cc40065ee3100ef7 |
|
BLAKE2b-256 | 36fe60ce1b249baea88d3ab7192a41fa324bd85783ff9c1fc7d5072c12db0c8f |