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.325.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71eece3d301ea1ddda2c94ceeba20e357b158f91e595aecf1a69947e251f12b1 |
|
MD5 | 90a4ca9ed73f589fef486f801085b793 |
|
BLAKE2b-256 | 6d2adfe9688b45b44bcadc9ee6519c98c066af1af7cb07d70779a65c10569e88 |
Close
Hashes for cdk_lambda_layer_zip-1.0.325-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7392dc8c6a1c092ac7002da8236f2893e67e9750d271ce6ce279a5cb618f05d |
|
MD5 | e9c135833ba52b15ee50c948ec2579d5 |
|
BLAKE2b-256 | 55c97a1cc49a00a1ea242fb5b37a7909a9bc0ecd32f46c29a3b8e31d07f92e65 |