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.65.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9771957d39ee4c170a885bc7d18305a8cc20d4b3b0b0ea5f5fb4cbd9feb1a90 |
|
MD5 | d7f35ccaaa921c457a6a075bbf2ab44c |
|
BLAKE2b-256 | f92f97eb3bd444b1903f7d41392b2d9ec3fa747659cac0deedb051c286fb3a43 |
Close
Hashes for cdk_lambda_layer_zip-2.0.65-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0efb72ad5d9da88729a6005682b45a82fd885a7b5a27c5e64f1efc4301d7c11 |
|
MD5 | 850a5c5022c77b452bab43dcfa497510 |
|
BLAKE2b-256 | ba57288f426c73b856712e4021d80ea7a5d5d85a28f0180e5931c5e1902280c6 |