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.228.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16877363b679f3e56bd84a8b5c4bf1e9f084918510fbc8b2641ee1b3e03a8f03 |
|
MD5 | 49c8536265e5d3bfe94a78996f583e67 |
|
BLAKE2b-256 | f3970c7b1a4f6f27191c291dd9735feff6d826687d9f0d47f1c92ab36af6a984 |
Close
Hashes for cdk_lambda_layer_zip-2.0.228-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d94806a3d2298ee7166299a0932be1dc43e8fb6abec86cd62516fbd8cd6a1c61 |
|
MD5 | 525ec6243b3a63ce307ffc82d1ddaa39 |
|
BLAKE2b-256 | 5a61a2d5984d1c67872f00aaaef1b96a20a1595f6c15c3c7963d88aa8fb17a5f |