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.262.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6114adc19b9eaf7e7a7c2e93bd42053b10935d3828e9118c7513158522577cdc |
|
MD5 | 4736697f9ce0892508e2f7cc28a53583 |
|
BLAKE2b-256 | 20b30e15f83f6d2a643ff3647991853fced2d5393e105fac73737841bc74eac2 |
Close
Hashes for cdk_lambda_layer_zip-2.0.262-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b4a9d4f6821d3288f17e64d0e22c53c55b76c5932acca847c902bee9b73f377 |
|
MD5 | 1a9f37498b2819e4f874ecb0ff1e7093 |
|
BLAKE2b-256 | 3f2f7c9dad279b72f2f196b3339e2187f39e87d4ec118b04b9b4a0eb9e2331e0 |