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.388.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1f73fab8030f6b5576be2fa2443940a444e910d3fe1475c3a10030d638138dc |
|
MD5 | 9de981dcc2a1f403471c68fb49c3c975 |
|
BLAKE2b-256 | 31895ca7240a7589369467e2c764dd7ec69a260c53d5f12fed35c52f9faf7044 |
Close
Hashes for cdk_lambda_layer_zip-1.0.388-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c844616ab30abd2e787c8c32ed499a5dbbbc8c4d98272bf24aa692c1168c65c0 |
|
MD5 | d565a60d75493ed9779060534031ecb7 |
|
BLAKE2b-256 | 3a65507fe2db1d8bc6573cdc807e413aebcf9a7485527c37d1e9194bcdb5e4ce |