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.112.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb140558855360ef99c84f145c9177a81b69c626a4f3af9210e7cec963bfeddd |
|
MD5 | 15bdc06e49b3b6a3b5704542dd620cc3 |
|
BLAKE2b-256 | 83e641a8477bd0f9eef3c134b9b42ae615833887292006a481c0f8e8f456efb9 |
Close
Hashes for cdk_lambda_layer_zip-2.0.112-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cb4548282bf2614bb8a21080dababd01d0f5a3d9bc8d64b0185b6d4e942db75 |
|
MD5 | a39e80dea5c80cd7581eb79f7ee8f547 |
|
BLAKE2b-256 | 3f5dc79ae0d2ea9751d5d180483e171f2261ef1afd4ff5d03b9ed4ba3e6f78e9 |