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.367.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89b577401edde4d82b5224bbb36a9b10e19a06c17b1b240d8285e6d5fb20c26d |
|
MD5 | 3b43f1b54cbe20c394572f2b7502805b |
|
BLAKE2b-256 | 22b92d35de13cb4db938ccffb9c0077323589a3af55831c7ddad635ad85510d2 |
Close
Hashes for cdk_lambda_layer_zip-1.0.367-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e0cbcb9d2da6a344f0a3d1cefaf59d0fa83e2cdafa9335326f165f77aca4474 |
|
MD5 | c029cb99a9a0704cfabc124f1a8ff84d |
|
BLAKE2b-256 | 7c6cd894dbd67f3126169a8479228263d48f75bf985bfdbd8995445b0690a802 |