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.337.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00260f1846c9291741da2271a8cd2965c7bfec58030d9c8b2221260b42f5bc1e |
|
MD5 | c290afda116cb0dfd554b0bd8c3f165c |
|
BLAKE2b-256 | 035d30db8aba7ff45c966b592b20b3f6cfb7d12bee9836db48ce9216af5b423e |
Close
Hashes for cdk_lambda_layer_zip-2.0.337-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93efc7adcbf278baaae51b370c3a5a638934146accd1a6582b63979b0f59e15b |
|
MD5 | 471e6fffb1163c6a5856d5b62630a0a4 |
|
BLAKE2b-256 | a1dc5ea64280076a67a90b48d25df20708fe36b204c48ff512a4de9111f4ce0f |