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.19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0de8139a4c83f0548cb9d2b917d82e244c6f2e2506786f65f200c72968d684a9 |
|
MD5 | db7333f5b7b3e59a25e80b0dba8bd992 |
|
BLAKE2b-256 | ecc7c83e794c3e63ada36699cfb96454ee90ef253f43d9c5a6d6d602f731a47e |
Close
Hashes for cdk_lambda_layer_zip-1.0.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66764606cff167bef1eaf52a76c9cd38dbe33cac0103e724db454e5c2e1ae775 |
|
MD5 | 2e6f9b843aee0dda8330ac7524ddbd20 |
|
BLAKE2b-256 | bbccb45492164d353cffdfb4601d9ef78314d625ec7f78474a8ce2b4ffe27733 |