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.131.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eefa10c1733d52f6f8237ca7971b260bba262dc6d5c3fc918e2ec9adcf8fc78 |
|
MD5 | 0f8b3876f63ee88cb70f0d9a82fb8652 |
|
BLAKE2b-256 | 9b6d8deafce2b485c4ddfa443cbf38a1fe1abeb400bc623aca86e188c0a6aade |
Close
Hashes for cdk_lambda_layer_zip-2.0.131-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 102abedc25acb94ade4f6b9edf9b27b2343295becc91dacc715933ae38c9ad28 |
|
MD5 | dd2b8fe484cb5153e4161819933b0d6c |
|
BLAKE2b-256 | 471724b7f668f4df5f6cec731d02207abcb3c2ad0eae5dfe8b5d37ecd26dfabf |