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.257.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f83aca4a07352e4379f0fc168ae1869b5b7dcfc16d1e01fa0b0089e897ddbd28 |
|
MD5 | 2ae591fcc051e6e709c3d37836312cbb |
|
BLAKE2b-256 | 31a0ab976628c6fd53bfe3052666906b016d2031866a05bdcad2d5676838772d |
Close
Hashes for cdk_lambda_layer_zip-1.0.257-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1158da4814269b3172676bd847cd38854794e7f1fc57cf54cc40a40b4c67de22 |
|
MD5 | 1e94f70481aea3c5c026d0613f47fc69 |
|
BLAKE2b-256 | a22069bebf1fbbbede30b3888f8d03214bf8d7f4e525ad1eb4e043b5e99a9d05 |