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.303.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 372bac73238f789b0ad16f1f80aba12dbc2f5419e95ea2d8c461208558f65aaa |
|
MD5 | cabb072363c4837ff92b7dcc5695346f |
|
BLAKE2b-256 | e6501b75f37f244a6c8c1b6adb094c0033f58e20df8a3c81146f27c366478aaa |
Close
Hashes for cdk_lambda_layer_zip-2.0.303-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a011ef67eded57712ef06e64c87f951a5724d1feae3677a3582cf3d08811c794 |
|
MD5 | dba56556ee9f25c53344b2612913f3f2 |
|
BLAKE2b-256 | 93a736f14228f4893093eacaa1f12d6b54edf9da2390ff28a9fd0516ce56ed93 |