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.207.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40446240cb6f4536b1d876c1128cb6f303e16f72d6d1a891839290586e96d7f6 |
|
MD5 | a61e5023109dd52b4e1bcb7dbf8370cb |
|
BLAKE2b-256 | af16a16b50c7ecabe10238ba56577d4c50c12745685497db184273071e56756d |
Close
Hashes for cdk_lambda_layer_zip-1.0.207-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b5017c49db4b8f5007d5916fd4073871fce8086099596ada3204d72f4a70fc0 |
|
MD5 | 43c18673140e70a127948e55d1f3b485 |
|
BLAKE2b-256 | f8138746dc45f1909d1a303cab341ccb39417311b8d25d247ba405038d0cadcb |