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.89.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad6f2867c6ffa02c88c06da2bd6f8520da260eb845182a7fc9ac726971434b82 |
|
MD5 | 8f8d560c6d97b950bcaf088c14bbed61 |
|
BLAKE2b-256 | 385628988619844056c28bbb8fad255b3b56c784fd48df39564bd849a53616a0 |
Close
Hashes for cdk_lambda_layer_zip-1.0.89-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1fac0f4b90b6a28263aac72bd443adf6409e3673acbfbf8e7e7d468d5f679f8 |
|
MD5 | cd2cb982df5d64e3a24ea6ca81519dd1 |
|
BLAKE2b-256 | a5f5fc9effc6f68e5d5a713dbbde4344cf8aafb68670bed3bb67a02cdccbbfb0 |