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.391.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29f551367ab6325a3fb98e4203b8751641455dfa8dfdab30cbf6074925fdd3b4 |
|
MD5 | a66f55849a0481fd974ed1cc694f1de2 |
|
BLAKE2b-256 | 49fcbd393a8e610a9c2503e654f242d6e634e1ef0441989c1645b8888c84d99c |
Close
Hashes for cdk_lambda_layer_zip-1.0.391-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f89eafd7d2323e0de7c398041e988667d9409a05d34d8807e20567e2aa9522f8 |
|
MD5 | e431598f12761617a32dcbaf6210518a |
|
BLAKE2b-256 | 3d05f3f8bb1015e2ef79d29a469350ac848a599e5e87d11adb74b788273ed8d8 |