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.269.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34acabcb94667937fa77af831a6f6f4f959fe8f3f26f1ed65494c48e8086782a |
|
MD5 | 19587ba4028ca8fc82a8395704fe32d5 |
|
BLAKE2b-256 | 80ca5a5fa0589b311b00f30729fb43b4fac13089e4289c65f39f3289b4013330 |
Close
Hashes for cdk_lambda_layer_zip-1.0.269-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f788a8d9a425890108ca358b25242aa297d2dcf72d358f135767db09d8e8fffe |
|
MD5 | c6d85da1559887d8c17fc52801bc1fdf |
|
BLAKE2b-256 | 774616a8595b418af4d854fb42ee631b2f8156104c37bf2d2335abee1356d0b3 |