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.118.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9a5a39e45077971f7f733d4d9676ea65abb020ca31f14c334721253afcd5cae |
|
MD5 | e5fb61ca843726975794c6e8e46b459a |
|
BLAKE2b-256 | ab8f5bd51f108da3c0b9559efce27b62511e9d18288f13eb57ac59e3be98c6c1 |
Close
Hashes for cdk_lambda_layer_zip-2.0.118-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f421d14375a595e001f41c8a36440c87be607da6f531b88650f8ed99a8c3e9d2 |
|
MD5 | adfd1a1768e9aa7cd26ed38d4d456781 |
|
BLAKE2b-256 | 6d529b7e84bbfe84957354f0516e8b981c46b91c9fd4ea0f18e1ef0665ce97d2 |