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.299.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7252586f2152eef36ae489e981049116d3e19696f7355fe9f5ac2c28f597be7d |
|
MD5 | 82e8594d535172e7f263e7008d2fb363 |
|
BLAKE2b-256 | ebd17cb19f7a599b7867e262b71d778360ec2707824c8cc18f22c6a0174b31b1 |
Close
Hashes for cdk_lambda_layer_zip-1.0.299-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c268d6e12bccbce2693ff34b6d88b11b00b341c187bdafa948f97ee96ba6cdd |
|
MD5 | 7241e092bb63d10a73058929be5040a8 |
|
BLAKE2b-256 | 81c880aa96f4f061396fe18afd1d164f665bcd3d5b7f8b09bcea31caca8d9d48 |