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.364.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11b4824fdfd4c2f710258fc1c62ee5b8e821a88269921ff31d02ac86057038c9 |
|
MD5 | 7b34f6e3e81e1ae84cb714a5033afe4c |
|
BLAKE2b-256 | 7cdde4372e31c568e66f490f42286a317a90e6c22c0cb0dd34883448df33d232 |
Close
Hashes for cdk_lambda_layer_zip-1.0.364-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ca14b2c6b73bb1991cd9eac74d30450ebcd361e432fededf1e991a47c87d78f |
|
MD5 | c622f2807f87c95bb404a01067ada240 |
|
BLAKE2b-256 | 895d5557b7ddca130cb3a3952374829c8dd88cede38192b16d711f5552501121 |