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.176.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8028d9da14c15aa062259bdb610b304780f1ea988cfda550f2f79269f047b55 |
|
MD5 | 69bb71895fe48ab89784116b23576057 |
|
BLAKE2b-256 | e328f2a7de18785a9314388ab5bec01dbb864b8535641e517d7f467e947bdcce |
Close
Hashes for cdk_lambda_layer_zip-2.0.176-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ce96b5714912c40d42aa13b91cf2d1a9a84ada4be48043f48247d8c0cf2ce77 |
|
MD5 | 3c3487f67dac8f61d45c37b0a96d33c2 |
|
BLAKE2b-256 | c225b1e161b0c7d6febf88198e47efd12809bd3e458ff4f6646e730df9140794 |