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.118.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07897110326ea32b7e36437cb1bc6dc9bd46ce083ea5915ed0ca5e0f1adb164d |
|
MD5 | 3aafec8c9d1355ca69e8e4c7a7b9228b |
|
BLAKE2b-256 | ff6a41c4afd28c96564048c44feb1c29568fe7a99516e3937cd4742120f2989f |
Close
Hashes for cdk_lambda_layer_zip-1.0.118-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13bbc08f80b2623628608e7476efc3c6a44b9c9b003961d9b3df48bb4c5b7eb2 |
|
MD5 | 547fa48a2b8d2cf928912f7a311201ea |
|
BLAKE2b-256 | d30f548bf2308b3458785731292446429ca1577efbc16741e0038a6cbaf20857 |