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.67.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca1c764afe455eb62cddc28bfe839b2d811ea68026c75778e91cd51c6d07844b |
|
MD5 | 2a9ab04a8c457cf6c7bd851433506a87 |
|
BLAKE2b-256 | 267004e4cde0e4cfa3f8d3f1f411d6f4c8d9a84032a4db9511dcf740c2238678 |
Close
Hashes for cdk_lambda_layer_zip-2.0.67-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3677a4bf0c7c12bd5754ec6aa90e54e6746ef31b01f6f748f75efd39577f4558 |
|
MD5 | 8b466ed6ebbad894f92c5432db3ed1aa |
|
BLAKE2b-256 | c73a06d607aded8137415c036eca01e1bf819071bbb850bebde5c63ba0494e7c |