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.59.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 242cb600dca778729f5d2655c6433e8df1fd368094fc9bb4c214a61066b626c8 |
|
MD5 | 891783db834a21e9abb0599bf9f60de1 |
|
BLAKE2b-256 | 8bb29df5a2e275b872c7bb8f83ddd3933bdc127a1dc44604e1d229ae88be96a5 |
Close
Hashes for cdk_lambda_layer_zip-2.0.59-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 514748e7e3b76cfa9da1e977e684ecd54ac16107d45c4ef70990796a35b48098 |
|
MD5 | 83ee0ee6ed19767397daf96e41ed2093 |
|
BLAKE2b-256 | 59a68372dba7a10158a200c4936c09bbbf46b3298a96a2434b3ec0b811efbdc2 |