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.324.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc651dfd5a6896b2934dbcab37ef22c83c0b2c8dde92b4b9e6f2a67daad797e4 |
|
MD5 | 09671da31b2b09a75b96d4f680aa2080 |
|
BLAKE2b-256 | c5e1334281f0e6b503e1c32859b3c5f04aa69160dc4786e99dbd1c064f8e5a7d |
Close
Hashes for cdk_lambda_layer_zip-2.0.324-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2088e1015cb65d6711063e0f88eb438bab110471ec6e21a5443a64309ebb2e72 |
|
MD5 | 58690358f74a8105d3013037caecee29 |
|
BLAKE2b-256 | a1354b1a66aee210b5835e87a6424ad16a471951089aeb69499ab6444df8b6d8 |