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.100.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4afa0ebbc8d447ea5bffa880e214f9d022fac3addaf82c5eb949e5e87483595 |
|
MD5 | 00eef34ab014dd85db5f02b786d0113f |
|
BLAKE2b-256 | 0521f959ca534301adbdc29bd58152c91f0412f5f4242063e20d0d50e6f90039 |
Close
Hashes for cdk_lambda_layer_zip-2.0.100-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd970662f833684c143e7d94d32d50a6be5ff926e4f4813acdb76fc56e90d8df |
|
MD5 | 0a1171da95f752b65ef539b83b7ba6b0 |
|
BLAKE2b-256 | 6fb4ef16ee8627b3cfed370a325ecbf62fdb2b4af61323510e36671735134341 |