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.60.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ff9f77a5b13de609c3daf25d6a040628efacaf6a2a2135cfbc0d141743732b6 |
|
MD5 | d2bfa8704a537968ef3963166900da9f |
|
BLAKE2b-256 | f1abdc353bccd48ca0f9e7edd1847ea6a7f246e150d4d76ca41f5409d62ee9da |
Close
Hashes for cdk_lambda_layer_zip-1.0.60-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18ed56a01dd44ac646e317b33ceb2cbf97d7a1344841b652c845d16a8595f6d1 |
|
MD5 | 359d9b541d29988fe7068a05fb3e858f |
|
BLAKE2b-256 | 9ca18f9e4be8ec88d5ed613b5cdf5cf9adcff5f431b304f24aae8f91e94e509e |