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.106.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 248d4b13f43e65bddfcb221ab2886b4d80133d39857733d3d5f6e8e1a7c56591 |
|
MD5 | f1132c1176b0e6f42bb6e9e322fe1e6b |
|
BLAKE2b-256 | d5c0dbb79ad0413ad9d80846466de239fc7e74fd876f28909e59f5bac79a0253 |
Close
Hashes for cdk_lambda_layer_zip-1.0.106-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43dc63dc8de7e30c5797e69521e11c7d77197c4b132600cf2f4cc0562e2dbd78 |
|
MD5 | 92b455195a7b7962ba416a1b9c0138b4 |
|
BLAKE2b-256 | c470a84cb079da69a59a767963411233b442ad73339c5727b2104e47c19c600a |