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.216.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39e13d7d2f39e8ed449694ae1a83ee30ec2db2774ad43ff6a74dc78bf7c656ee |
|
MD5 | 123e6ca0c69a9d512a6f2d95ce55f979 |
|
BLAKE2b-256 | 03210a774556e131481598cf64bea5c0501772bd0c204442cfa8812382320670 |
Close
Hashes for cdk_lambda_layer_zip-2.0.216-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 054028fdf62795d8c7e87b52c671f72d34f56054d91901a73cb0ecfd3a4d00e6 |
|
MD5 | 2acfd07775227cc46abadc1076f8b18d |
|
BLAKE2b-256 | fa221015152189a3e27bbf3f2261121ae4d6754b0c398ba5eb42120a4be6ccc1 |