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.322.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5da380c0d1c0b9e9b63e16ca1752f90fd27db7827f293105c919a76d1a96598e |
|
MD5 | fc138d36628a9928256db094b4ee8c55 |
|
BLAKE2b-256 | 34f0f6e6f6b27224fa2a9efd78d92647b9a14e28dfeae38eab3d141e9bbb5703 |
Close
Hashes for cdk_lambda_layer_zip-2.0.322-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8b7620dbffdd247f1f06e97d7722a6e315ed3ac308d31e62afe7433ed30cb25 |
|
MD5 | dc114e8089b4dfba96397b9091b4751e |
|
BLAKE2b-256 | f949ce5243f48166a94964fc7a5d927431fcd48b4d377e2b794eccb4a2ac3489 |