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.292.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0a504b4d7de20f8b8ac275c3a922d2f1a17c340b4442b90be2dd692ca85a9e0 |
|
MD5 | 8d17e86bf970e5f52ad0e47efde67cdc |
|
BLAKE2b-256 | c635800170405d41b98f899b5cdbf3e269fafa640e64ff10a52cc26c4a66f454 |
Close
Hashes for cdk_lambda_layer_zip-1.0.292-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da9473b12633b3fb05abe1a9367863eec9d987f572c3191052abbd4f6b9bf2d0 |
|
MD5 | acec05fd5c54e6a2038fbc8e927c059b |
|
BLAKE2b-256 | 398c8bf355c3372c6e842873f891f72a74d9fa486e8594e3fd7a86ad14ab87ac |