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.338.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d05658225171aec4c30f94f96a32ad44ab057505091a3b0320ea91d5a0e3dc96 |
|
MD5 | 9fe8724be0985022eb8eb9fcdcada08c |
|
BLAKE2b-256 | 3132d7ebd63240586a1c4e030cef75f6ea4f15c6f93afe6d8e772dbc9862cd79 |
Close
Hashes for cdk_lambda_layer_zip-1.0.338-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 067a4508cfb2f13d8ab5ac133a1557fb54cf08c3cd55337b11bee2a384e3fc65 |
|
MD5 | 0bddf2ab597416123949b3b3f98512c3 |
|
BLAKE2b-256 | 977747eafddfc7c726ae00ac8d96737a980697b10d730dff2b95cac6b5ebbf54 |