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.20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89f0fa77a167315682377ad1474a9a1763a98fadf5d91761c1c25a9c098d8f08 |
|
MD5 | 7cd7695f412838097fecc7e2839bd603 |
|
BLAKE2b-256 | 8a2d58ab417b0100825ffd543ad7f28e1e5ff1019c0b12793313c296694d66ce |
Close
Hashes for cdk_lambda_layer_zip-2.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0e5d16091c0f15be0e3c24c16a25ca5e8b5de00ab38d3155e213c45c3162642 |
|
MD5 | 590b62c8dbd8f4bbec6b7ea22e744467 |
|
BLAKE2b-256 | 16124bafb8abfcc02230cd6c2ea490a7a3b2477d92f147ef2c749c93ea7c768a |