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.224.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4eb9b309d792293c5e893d90b9b21eca7479631ff0ae23fcd2e95026c3d5af6a |
|
MD5 | 6a35ee79404e7cb870a2908226e08292 |
|
BLAKE2b-256 | 613d4e93f164fcbd7a01ef84a0d60738a0644e3890ed3286de6d67b2b7fbf861 |
Close
Hashes for cdk_lambda_layer_zip-2.0.224-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96bb854ab58bc7c180fc5a59c44f6f53c033ee75b7471c1c8641a5add541caef |
|
MD5 | b744161fd3ffedbc55545fbd7a5eedce |
|
BLAKE2b-256 | dcd460b2e0043e93a2a470fc64f6afd276318da9213be237cfb86bf814c5dbd4 |