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.307.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eab5280ec2c5b1c46bac753c16c29752076cf2a8527f4733d1c836079eed1c2d |
|
MD5 | d005262d449f52393be9163b18753c74 |
|
BLAKE2b-256 | 89e006a38de444bb21d5b2fdfae0e4b7ea570536a30d57c168fd3285238a356a |
Close
Hashes for cdk_lambda_layer_zip-2.0.307-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc1aa35d90ccaa11e0a6e727cdac06cfb24532c22e333c7b005c16738693cc1a |
|
MD5 | 6266793ebc012e2a5342876b371f42c2 |
|
BLAKE2b-256 | 0b0910562ea18101286448a0430303c010835a7656be8facdd8ecfffb10d32c6 |