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.375.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 636c3c45e8eb146f6ccd3d478f1dc5e8746691b162b03071ae6860ea4565eda7 |
|
MD5 | 9238524d02141d19d6da5358a362d7bc |
|
BLAKE2b-256 | a50105786f13d6a705b19662108abba55571482b8a6a1c96875906bf96eccb15 |
Close
Hashes for cdk_lambda_layer_zip-2.0.375-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e52664e69de69cec52fc21d1dade67b1b3180bd40ac38ae25371643298ab9d5e |
|
MD5 | 4c7c65ca5ecfa163ed95bfac30b54e2a |
|
BLAKE2b-256 | 00a2b3f7d273ab3c6aa185bde982e21cec261fde0ce546e4aadb5616e07bee26 |