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.79.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1d228db5f74e74bbea0144d0307159ab912ef02dc5d684fe53d2dc25f85935b |
|
MD5 | 760233d701d6c52fbe387d060e75631f |
|
BLAKE2b-256 | 4a474a9e4375cd6d2a4be3f9484bf7d6cd5e3ffd5973553d775def2f80a1b33b |
Close
Hashes for cdk_lambda_layer_zip-2.0.79-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8de53503ddce46b7d6023b628be97946eb3d445ad3e775c59137193b907a15b1 |
|
MD5 | 91f6fd081886d9d554ed32b7b9addfa2 |
|
BLAKE2b-256 | 67688619c805d0f1c52af67784d04760ef8b84f2462150ac3372a8e14b7ffebc |