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.56.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6594b64ac375e6ccf647b2964f3d32c10b4c84e17fe30dbe1a5c7bfe0750d8be |
|
MD5 | 490835a35bf63d2b25467c5dd37f68ad |
|
BLAKE2b-256 | 3a22fb0c6b42a2bac8fae057a54f09a6c1b5f79cb01fb27a4a5610238c54e008 |
Close
Hashes for cdk_lambda_layer_zip-2.0.56-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a058e48854a6205ea5ce907d00b1e9d5698cd9708d9fe5bf14e5503f2ff522f |
|
MD5 | df42065dbdfeb8847bbbdad31bee33a7 |
|
BLAKE2b-256 | 717a4ec48949cccb6ff0815935a4134b83ad2ddfdf9fb1b35fb58c6e69d9e1bc |