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.252.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 551c64264d412a93e519e219cf0866b0a70470536dddbdda30ffbb560082203b |
|
MD5 | f857d8644b549e00dd8b381ba71e69c9 |
|
BLAKE2b-256 | 3a37ed1a8254fd60eaba90ec70fd5d1af503f9137a9b50787b9252ad12f1ae4a |
Close
Hashes for cdk_lambda_layer_zip-1.0.252-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e966ea094bf494bb50e4eaf3cf832ad45e9f26bcb516fd7e0ddce85a769216e |
|
MD5 | 45cfc09ff691e7ce89566d877c5e689a |
|
BLAKE2b-256 | 1cb3225eb4d2e19f8d85caa943453548931a1bba1a8f82438b76db2189cf7629 |