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.120.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83431892a8ef580367234663f514e68e724b7e1826bca7efd1b9012ef4f87c71 |
|
MD5 | b37549a440668355504cb21664328afd |
|
BLAKE2b-256 | 19f44f2d4b792da1492828d4a6b8595354491a6f07de73a638abcfbaf678e849 |
Close
Hashes for cdk_lambda_layer_zip-2.0.120-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79bb98dbd3a294a1ba96886fe6298f88ee888a90aeeb44759c44a8aa36257212 |
|
MD5 | 66b94963ad044b9a47fed8b75e9de14b |
|
BLAKE2b-256 | f57df977a16813167cba9a690fb5a6f1a67c501398967d2caaabc5d0fe87b956 |