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.171.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e8da08c3b761a0e363f01ee7736fa24d3b0b2fff8f3528609572bed37913429 |
|
MD5 | 9a6b77493a5c03639f42b58f3b8c43a0 |
|
BLAKE2b-256 | fc767ce03bb5fd448bd792d3d9c44e7e5c0cc0784458bdce0a4c510cd20ec688 |
Close
Hashes for cdk_lambda_layer_zip-2.0.171-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afd2553fca3337efdfe2c0e383988aa80611203ccfb427895d1e7f00048d3bc1 |
|
MD5 | 6b280ed26d31689bc1ad8fb0169e8dba |
|
BLAKE2b-256 | b734aee1cb5cd0886b6e0b5cddfbd571c91755ed4220ac3c2f2f78f336e53346 |