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.35.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e3858729217f9105f9a13ef9412d63131ddae210ce8149f77d5089c76dd57b5 |
|
MD5 | 2bee30882b2872a38aac431ca29b5787 |
|
BLAKE2b-256 | 7078fee865b0e8f80c7c42865dd6253d3a3a219b198c357a9a072c9e7d73d756 |
Close
Hashes for cdk_lambda_layer_zip-1.0.35-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e70fda4715fab2aefdc7a782f3d481239724d67e7ca38465694bbce68dd1213c |
|
MD5 | ebf584c9770a20c471cef5334487ec32 |
|
BLAKE2b-256 | bc8772c0283b176c5ad7e241159ba2529b5987c8ae3d6b6f4cd7b80df2799828 |