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.70.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2536ea9255940f2e4fcc428212c415be98b0d86d4a3648bec480ceeb8e45142d |
|
MD5 | 24ec79ad6d4744df5420dcf188fc8a11 |
|
BLAKE2b-256 | 8d923ce2adc7abde727f10f16cf21d9ecce141c5fb4bfc56c894258cbbff36e3 |
Close
Hashes for cdk_lambda_layer_zip-2.0.70-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd024178e6cb9731080ece40c5435ac0d74a66ddb7318a59d97d550efac5bb9c |
|
MD5 | 42eccc06055415855066fc38b772d3cf |
|
BLAKE2b-256 | 1568af6e484f5d65d851d7aa32319cb32a9f4e33bb94c7aab63a23ac83e25d12 |