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.121.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9094a3d05be9206c4b68310b149dfc4f7fa2b4061f66b8544df2be03ae63ea5 |
|
MD5 | d458b26816d8aea688a6ee26b04261ae |
|
BLAKE2b-256 | 730c99fd69650b9a3b72853e0b24dcd518acd3269243788090cb3913f89846d7 |
Close
Hashes for cdk_lambda_layer_zip-1.0.121-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18d17ebcee0f4f6ea950a0cfe1bfce667280c7a4d4abc2fa7cbe69f3a968cbd8 |
|
MD5 | ec8ab8ed3a6c3e72feb79818acecc179 |
|
BLAKE2b-256 | 2f574ceb09f171a0659e19af673c8c264e1f1348a35bdeffd5f6067776d109e0 |