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.385.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a00c3b20000b9f733fc61fa4478683bdbcb817fa3a566ea68de426a4e6b323b5 |
|
MD5 | 0979e9cebbb42d17ec391850990fd6f0 |
|
BLAKE2b-256 | 956ae62910d9f73ac644a2d17d11f39fd21eb8b95b82c46c60bab463d699f15b |
Close
Hashes for cdk_lambda_layer_zip-1.0.385-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5f42b25264a164ad07b7114fc1eb1072af3524f21d91369ac3b774377edb7df |
|
MD5 | 9871a4429f46e22b018b71e5109acd48 |
|
BLAKE2b-256 | 89a205af3b8253a96b59c252ce87209dd1fe6cb3244b32268d1ca33733d23b43 |