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.211.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 461b3c3dec1597b4dbf536f46dabdff2b2becb64b1fdff2d396d39268bfe94a1 |
|
MD5 | 1b45f47899ab67e372ea7514968e3551 |
|
BLAKE2b-256 | 32507bdfa34dc3e4669ce600cd48937e07e170ba644581a0a8f11dfbd45ad223 |
Close
Hashes for cdk_lambda_layer_zip-1.0.211-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97c9f69974fe62e24d96c6b065f470e3fd98d7607cda4a714f653ab179f336b3 |
|
MD5 | bb0549d4a554c86dd6f8b78f5e9cae0a |
|
BLAKE2b-256 | 24a2b9b9c3e8e744e38010791755cbc4f4b8accef475bd8fb3d4d53f52c027c0 |