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.161.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6db7132bf594c02520bed2109af3d6700fa2133a669eef554fe0d9d5db9e289 |
|
MD5 | 09aca6ed512d79c5e4f3fde5968bd5ae |
|
BLAKE2b-256 | 98b4a5b54dd901f43c79dc0bc0382446f64b8d2edcba17f6b3fb5fe09934dfda |
Close
Hashes for cdk_lambda_layer_zip-1.0.161-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acf1b7b9b7e2ad72bc67b05f8fd2b045e96ce71e2fae99f88103dc46659ee7ee |
|
MD5 | 1fa1eba4c0ce8010d6e5e1a1bbc8357f |
|
BLAKE2b-256 | ca4b9d596742a3ba40a93297f82c348e95bc3b4501dcf9c8b60cc30022425caa |