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.252.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 643a7bdf5158605a4405627e4386880634976e74cd0f1c9135d0ecbb887e0476 |
|
MD5 | a1ad2b3d44a8d7dedb25f4cfb53c4c2c |
|
BLAKE2b-256 | 273a7c399e199156d14024237fa94af106f07f4a33d1d4e85b056e0a9417fc21 |
Close
Hashes for cdk_lambda_layer_zip-2.0.252-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4900b23fd0ce8ba6171c91e812e8e7205e2aa43c31a2191e79e49b8f40407b57 |
|
MD5 | e83fa5cba77fa68476086b8176cd5f47 |
|
BLAKE2b-256 | 4eaacb06e685c9b141239e02748ea5245f00faa934490f96ecf10a604f926fb9 |