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.341.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 096236ebd0345c476465347205f1c920d14b663f91afffb4d8229139a9c3a618 |
|
MD5 | e3061c22f6ea80729358857b2a4501bb |
|
BLAKE2b-256 | b6fe597e7f67cc40a408b7fffecfab5a535d70d20801682d7ca7d6cab2feb074 |
Close
Hashes for cdk_lambda_layer_zip-1.0.341-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5abc20b8513f10f441ec6b7eea06069a1610c3a5c47f584aeaeae8a97ef843bd |
|
MD5 | cb3619b7d24b79da28ce726fb0963a96 |
|
BLAKE2b-256 | 9711223a9a50d47c708eacc1ba2824566df424ec8968fb936d2ea93ce3ea503b |