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.243.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 898465df526d4e33933d829e87e8afd18ef831a585ed9cc8e33d0ae3c4fa75d9 |
|
MD5 | f916f00f7a9bf013688963d93179f2d6 |
|
BLAKE2b-256 | 67acf9291d6ff2ce87251e2476b2ca35c36bb31db74617bb4d83134c4a885575 |
Close
Hashes for cdk_lambda_layer_zip-2.0.243-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b1323a6b6bfc4b4dfdcff5f49807ba7b4288a672a66e3df65543b378d260a51 |
|
MD5 | c062ba5dedcaea184c466b21cfa53c70 |
|
BLAKE2b-256 | 5aea1e6b3c7520ebb7fa9cfe10bfdae4254c21325b330987377ad4e4cf551f77 |