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.319.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f08a7ed7bf5b1563dd677cdd357d6bb2d314e28d2a85b9103a7cce4700f95a2 |
|
MD5 | 9c5bc0d2e2df035adb5e818593b0ab97 |
|
BLAKE2b-256 | f435d36ca8ac18b6389d1dea3d015b1db627dd947eb3ca0ed8161bf5e1b5e65b |
Close
Hashes for cdk_lambda_layer_zip-1.0.319-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e50598d7354d0ba94a9bb87c25d76ddf8a5322961e7f27b2a553ed13c832dd8a |
|
MD5 | f69a17557889f8fd4442da6c8c8f76f2 |
|
BLAKE2b-256 | 8faf3d028c3d8f4dd81d4017d9d4e6bc5f214c26ffb5586369db9399b9b9459d |