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.293.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1f5f9199055ef7aea3d91af81032cf53cc575b3bf1e315e496423e2877a66c6 |
|
MD5 | 574107e7d6e8673e2001e30cd1106c48 |
|
BLAKE2b-256 | 1c890ba291a71a9c7904c323d1a7a6ee5f0b550eea43ee71e7bcabaeac796d74 |
Close
Hashes for cdk_lambda_layer_zip-1.0.293-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 626c8f544f97929ad62c1d4a4e3289ade287ad836abf35522cd48b84e290faca |
|
MD5 | 36b98a85f142c1abdea17b15bf49cf69 |
|
BLAKE2b-256 | db2e5f45a470ae0a28ef3df46389692ad24ada830a5c6331e8717eb023e8e622 |