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.110.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36f3da0f5643370f6bf1c45ded8d99a71c6e3d6eabe4b52c7dc70473d6be54cc |
|
MD5 | 54412d12495a414a3a80db7884fcded8 |
|
BLAKE2b-256 | 8bd83b812eedb4ef77a4ce9d075fc82a6e556d4491f9bfaa87f49d63fdd4d1e7 |
Close
Hashes for cdk_lambda_layer_zip-2.0.110-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aec441f3a99b03a1aa9ae99915abc1bdbc7f574664ef7ef92cd9a35aa314d3fc |
|
MD5 | aba0d6c99e50a200a2aa5430ac12b820 |
|
BLAKE2b-256 | d9afe253631a2406166f5b448dc3b194700ecb13f2f5459462905e07d42204bf |