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.345.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e8a74f72b92b674ce13197b9739bd4d59ca9e093934f9eaeb7b2e1566050842 |
|
MD5 | ea112206ae2688513c3f0e7498462ee5 |
|
BLAKE2b-256 | ee17cb2ca9a4f5a0cc155a4f49b0a2cb4bd93d7930754bca9e37ba36f5012485 |
Close
Hashes for cdk_lambda_layer_zip-2.0.345-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d305cd6661b961053ef7a7204b1eea72d03c493b2a731c948c50aa69deb10462 |
|
MD5 | 9359f696f3de7d6067a02ec0e5548f25 |
|
BLAKE2b-256 | ef8cdb116a43b4528332fdd2cf2cbd53a6465078da8772bb849c1f7701008eda |