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.263.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c40a9ea48422cb5e005886871b126b86f0c8cfc47585ea3ad44a9811475d8277 |
|
MD5 | cc5fe7ff72dcd368ace12cee34baea51 |
|
BLAKE2b-256 | ce772c2964faafcc3341c1f59e71400e1eab1cf3235b94899a0bf9008dca69f5 |
Close
Hashes for cdk_lambda_layer_zip-2.0.263-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d96607a54a5f9fe9af68043c867dce9227df3207a46b83fb4e44b584fac6d67 |
|
MD5 | 943b245c70596151d52b50d95c581127 |
|
BLAKE2b-256 | 396803d7ffcd990740db9d9dc3ee14a6c20d098e64556b648a32ab4cd7b08ff8 |