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.374.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c079756822a0a7baac6cbb36f37975e4828920a353e313e1b694c128a3aefc88 |
|
MD5 | 288e21f0bd08ccb7e9de3f0711124ab9 |
|
BLAKE2b-256 | a757f3b1906da2fe86e196fd1c1975c1bcba33792bc902a68a7ff1d62b0886d8 |
Close
Hashes for cdk_lambda_layer_zip-1.0.374-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 012cd0a59b0cab2de667b6a09a9e6e989d166b5c6f3110623e50b02269e18af0 |
|
MD5 | 5f9e806c64bbce376cbffbfe5e3e52ae |
|
BLAKE2b-256 | 4439f063c919c244d7b0afb850728978d47f0e881ca69060f7148aca4be2a6ab |