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.169.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4785199147b4dfb06600205581306c4b88bf827c9e32fb66c22e852037c88f96 |
|
MD5 | 19b4fe1bb154b9f9feee1431c9a0043e |
|
BLAKE2b-256 | 9ef6d500e83071126d2dfb016a36f204bc3e195fff1d32503627e3e181ca0436 |
Close
Hashes for cdk_lambda_layer_zip-1.0.169-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a6f36ddcd3f6d4825e4be48d2788abd00bba9274912e1a5e602ad05bd9a5186 |
|
MD5 | 7f8049ff88b17d2077d85d3ba7144c8f |
|
BLAKE2b-256 | b2df75750d52c81187823739279ce1d75f8e64700d6c479c43e1456c3928c4b5 |