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.240.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f966410dde591661268f5a31a17479f2d44c8ac1bc1d27d324bdb8403d73a93 |
|
MD5 | 0f4af98f98593ec72e4b4150eef4b08e |
|
BLAKE2b-256 | 0f0667593be934736136b840ffdac608e67a58735bc6878ce2b12dc169ed40ad |
Close
Hashes for cdk_lambda_layer_zip-2.0.240-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66ada124ef5b196d2311a8ad435469cabe24c0d1d133d547c94112de3e624309 |
|
MD5 | 607cd7f5a2887728e8532f3bc45e6989 |
|
BLAKE2b-256 | 70605b2941a8cdbda329eaec6c99677be1cbd5940251869e7972860f9ea13a93 |