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.333.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f64f1034ae2a3fca6342c4710113566ebed74b07b33fb4abdeb796bfcb450848 |
|
MD5 | e55805ee87cf2f6079f7a51964ae1fab |
|
BLAKE2b-256 | c62074008c02220d07fadc2621c28c0954f6be2046c55c5600a331c55d33c877 |
Close
Hashes for cdk_lambda_layer_zip-1.0.333-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1b1844655e448c733bfaa91c9e8e8736a35722de9903ff56c13a0c6b0a43aaf |
|
MD5 | 29034abdf904c04fa412f575cd8d003d |
|
BLAKE2b-256 | 192822ca6516c40e1885163db079ec0b1144e962e073a3d6e153da868507df6e |