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.169.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fbe5fb4f952f3417effb3ab84df0b6796786b64f2c832b24de46f759f918dca |
|
MD5 | 70bd913d5fe652eaad9840a6343e4424 |
|
BLAKE2b-256 | 50c051ee8c03623d71999501510e67c24e8d37017dd92347944ac4a4e01b7b48 |
Close
Hashes for cdk_lambda_layer_zip-2.0.169-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb654282a2683bd20b2cbb087a836478b103dc8a87c6414c5ddfae7568f839a5 |
|
MD5 | ad71a7ebd87d8864876a297d92fc05ec |
|
BLAKE2b-256 | 80655edd894923d371bc0f7c8801c8feaeff898b8e73ce5e45964864c7247897 |