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.268.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3584ab27ae06494cf3cae32cb27486aa318438b01d25c081429b0b473252c685 |
|
MD5 | d83adb71744e00bb76c29bcf290e990a |
|
BLAKE2b-256 | f84c5912458f8f18b0a3a15d44b0b13c7d5a1d705198b65e2b2290c6e8810fff |
Close
Hashes for cdk_lambda_layer_zip-2.0.268-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e72b7602a806751ce1c0c18625cbd3d08fbdcffed4e3d14ad90caee2779be916 |
|
MD5 | b504296d748aeae37c4bb6583dbb88dc |
|
BLAKE2b-256 | 129a31634361501be8a77f5b6ff79748e9ef04980f98aaa8d920b376aae8685f |