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.35.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15f3ee9a3dc002014ef9b4ceb21752083150caf963c4b11e9b5a7f5c3ec57e4e |
|
MD5 | ace516ca96da5bf767e8c5c964abf7d2 |
|
BLAKE2b-256 | 6fa7f2a119e9c57b00baa46270806cdabf536e664d064aee2affd51abaf28b67 |
Close
Hashes for cdk_lambda_layer_zip-2.0.35-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca502336157483d51b1e817ed0f750ab87ef5952807c673368ce76d58379b1dc |
|
MD5 | 87d4c3b5a945aa7a401b75724a677ed0 |
|
BLAKE2b-256 | 8852c1e3af9b1d990c690b9a9c0a2794ec37c950adb2f286079caab8e36acf34 |