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.154.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f7e33f97c83f7ae6ae6e8beaa7be31e5909215ea669f56d5e6ec51ad65edfae |
|
MD5 | 59e0c8fccc13bcaf9bd2efc31b771c75 |
|
BLAKE2b-256 | 89461b313f695fefaccba7f3fc1979b82557db8274a29792b473378ac79aba7e |
Close
Hashes for cdk_lambda_layer_zip-2.0.154-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b84bce5ccf8bc5fd71cd5774b2291b8c9467b70cdc5f2178dbd3ec56dbcbbea |
|
MD5 | 576ceb7f383b92c036deedb9fea76c24 |
|
BLAKE2b-256 | 444d498a1dc90191aeeb81a1028016cdb14a433db489092e765fcf21af00b2f3 |