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.314.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ceafae95c795a7ee9e6a04d9ed24fade079fada3fc395f9c80bb55df773ccdd8 |
|
MD5 | bb6b21dacabdfcc35e908a02390bc0be |
|
BLAKE2b-256 | 8990acde9a46a1e7c0195cd5195be4752549f1c0f1aefcad7e087cf4275b608c |
Close
Hashes for cdk_lambda_layer_zip-2.0.314-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a89733096531c1078f007f401a3e7f117c27a60c5c598d7beba333d9827c67f |
|
MD5 | 0eeab7723bc93f988ffd0e9af2b97e4e |
|
BLAKE2b-256 | ebf0816d695d07600930210508c57cdebe7fab4fa135875f3534f345bec33899 |