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.254.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b0627bc157bab7b7c86267ea6e6065584e9c4ac9e0ed3555bbd447f4ebeef71 |
|
MD5 | a311904c8808a8455913d15e8b980a30 |
|
BLAKE2b-256 | 91f2a84fec5e771abf4b823c713fef57e3ed296a74230d531d512804e6efdfde |
Close
Hashes for cdk_lambda_layer_zip-1.0.254-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74791a14ae5c1f2e002e7496498ebbc2be3c8a201586d6d2fce394543c7a5fd4 |
|
MD5 | 30b62519fff0f279e4f8ce03c7f47416 |
|
BLAKE2b-256 | 52856199e8973155833c2796583d9e673e7791849a783491463d7c0379f1bdea |