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.141.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ec154cfea4af78c598bd6de850113fdd86994a403c2f944dcc0497be5357669 |
|
MD5 | 1a5c6889021750abdd4205356a7239bf |
|
BLAKE2b-256 | ad66e8896f2da3b7c906c40208b369f7ea8ba00b28a552015d6beea0359b3656 |
Close
Hashes for cdk_lambda_layer_zip-2.0.141-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42417d26f352e686bc21c4402e02b60edf96b07b7b5ff72278f029ee8148aad0 |
|
MD5 | 33f31b090d66626d57553249a746d8de |
|
BLAKE2b-256 | 2302dfd40debb8bc3cd5abb0fa3ee5359aa544f381ec68840efa19bf5a5e11c6 |