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.123.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6514ab797569e02644b8373c0d2387c6d98ab80bb196cb235bd250c7c9dbbb6 |
|
MD5 | 36dd1201e2e9930aea5335b1692e51ce |
|
BLAKE2b-256 | ec240d1a6465a9009a49f17e00482a8fa9b675fc8423f0c2ed8dd2729741a8de |
Close
Hashes for cdk_lambda_layer_zip-2.0.123-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8975f505e9cdf947d2f9e8121b5ebf7722906c7cb36de5fd62340388fe73f24 |
|
MD5 | 85f4d509a3f6e476edb9b59821da5b17 |
|
BLAKE2b-256 | 6f59ea4e2dc8168323a73d6a83680080fe025ebba46cc6d65963d85fed312bbc |