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.272.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4491e1cb6e2df330c3da86de5ce3731b02f62c29c7a4f63b4de52db67a8b2f9d |
|
MD5 | a2e1ae9a368ea48846bc72ec9fa24bc2 |
|
BLAKE2b-256 | fee5b7fee155844abda5427b99c45e5fa43f2a96a85af920da823867026c3a75 |
Close
Hashes for cdk_lambda_layer_zip-1.0.272-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1538a4d047743103854b33a4c2046ff861d6b7475e41721a094db0a3e1170fda |
|
MD5 | e7427d29d34c239490cb6c58981b8dec |
|
BLAKE2b-256 | 5e46788d5f96cb18f0993ba9f5e71868ef3a2f90af690c7961487ae13ede7f18 |