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.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec4b7f705ee49c7f121c9e5c33963adc204ef9565a3d67d78afd65739a09e6eb |
|
MD5 | 0af3f32f0f2ae237e6642fe809b03613 |
|
BLAKE2b-256 | 4838f7b081080b35586746b0d67d65292bb4d3538ed2c485d84ceea774ffe7ae |
Close
Hashes for cdk_lambda_layer_zip-1.0.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d4e79252b690f33f2631a81910d41dc8395cf994d113ba77db6850412a9a465 |
|
MD5 | a3c802efdb5044f29cdc5ca115c61c4f |
|
BLAKE2b-256 | a7f4afece2ed677057f4de56ad739865249f8e055c1f1ba3d47fde490499b641 |