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.220.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 183096bfc3d80805fefec84a12e7444bc7297c24c69ed0fcc6640671ccf546e7 |
|
MD5 | f60686abf8a7ad201698b96c56e39edf |
|
BLAKE2b-256 | 591e6f601b65da12b2851d5a042868fbf761e59f6e802bae16a3a5cea08786a9 |
Close
Hashes for cdk_lambda_layer_zip-2.0.220-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eedabeb8824ea7f7ec686b82a6a1a5c45410f85e25e4257aa972f163844de472 |
|
MD5 | d7430c0f8c0e2a1a4c11b34858c1f1bb |
|
BLAKE2b-256 | d41c7be00fd2b6f2d44f2443104e38aa02929cecb625f9d851e86d29302a4321 |