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.59.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68b5a6f914fcf6fc3d5680196aa5e63fd4d899b397d4ad88206689fbfae8ddcb |
|
MD5 | d729543e43b5c94978695f72bbd282b3 |
|
BLAKE2b-256 | ad6134d4598c2a9b8e00a2ab792f7bbda7613d83c04247f1f5de43b03d29c7f3 |
Close
Hashes for cdk_lambda_layer_zip-1.0.59-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00009589a98eb7a3f13931661b78e53b444a1ef72b19355a43df304dcb07f2f4 |
|
MD5 | 81c11c81bb21d1e517c95ed2cd9a41a7 |
|
BLAKE2b-256 | a2db426ebe6032a31ee94d6e82d0afd8958835f985bae73923b76296ca79752a |