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.24.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05b87cd728c9735fc85c848030b1bfcabf094453ade3dd64e6c2a5774759957c |
|
MD5 | 256c04e98590814383216b8c2c858f19 |
|
BLAKE2b-256 | 9c79393aba6bb833f1c4ec5a249ffc39639de27390ec327a71034d535d8033a0 |
Close
Hashes for cdk_lambda_layer_zip-2.0.24-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa8d7014bae20e07a9eae67ef1147f4ee8d988904a640e98e0a9444e0239d40e |
|
MD5 | 4c57f908f5f83e1c3a9b7439b9f5e831 |
|
BLAKE2b-256 | 068c0df8a00e4b582f1a6875a4347fb18473469442135eb21f9d745a22096af1 |