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.190.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6a78c44431892cedd8844b5701cba917f48dba3bdbb45a3bd7e72f8d1b2a92b |
|
MD5 | 23b1b8552e8ad9ce1b9d57a34b5fc7c0 |
|
BLAKE2b-256 | 999316b9fdecf39c354cc7c17bf6de577ca548070dac94fc366bd27b6b91ca4b |
Close
Hashes for cdk_lambda_layer_zip-1.0.190-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 288acfa913fa9d7cec0db20c9e85596264f1709466f0824710a4953f0225a8fc |
|
MD5 | 99cc4b9f43f7042bc42b2d24f50bad51 |
|
BLAKE2b-256 | 8cb59ebccaf66fe588ce2e6cab23b423c85c639c2ff74c0094ca4a4c60e7105a |