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.360.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 489024e656493916c38621d97b553a2cf04d8f172ce6e70059c76d49a3dbc566 |
|
MD5 | 7eae517e137055337198aad0ec59eb37 |
|
BLAKE2b-256 | 40d784e4e5b61f34fe1a8c5a857a44d967f900ffe35d3969c680891993799c00 |
Close
Hashes for cdk_lambda_layer_zip-2.0.360-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 233ed5d22a29c41485e3bc112096ad8c6626449ab2335117f037c1a0099398ed |
|
MD5 | 1138990e9fd544e78d8435185d7e39ba |
|
BLAKE2b-256 | 60681b23cbcd6132f82f3ec215aeec40ca0c3400ee97d1f5f6552142529fc4c8 |