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.156.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07915b821a6a07bdbeb6ce1dd161fee07dcdb956378d679bae5e755d674ca7b7 |
|
MD5 | 04407f5dba39378ee5bb85bbc055d2dd |
|
BLAKE2b-256 | 1a4f974f89314ab36a411dd5ab6a183f01a32f8e547b4d4a23ceb9156bbf9c30 |
Close
Hashes for cdk_lambda_layer_zip-2.0.156-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9884651b3ec6aac938ca370c1bf01964480f5884c07fc487f472a0c196d81ee9 |
|
MD5 | 92ece9cbac45ede6214187bd77a14ed0 |
|
BLAKE2b-256 | 5efe1fe9e55419dcbbd0a2fe0e1dc6517aeb19cf377e3cad61395bb34c60e3e1 |