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.255.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d67a1d9d350425c43bb01f17ea8727217c2d70a3deef593144b89be95f933d5 |
|
MD5 | 09344f7046d25b0efb079faeedf2c65d |
|
BLAKE2b-256 | fe079b25bf04026dfbcf746bc41788a379087fbe1abd7bfd9a8fb86e79231166 |
Close
Hashes for cdk_lambda_layer_zip-2.0.255-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9ca42ce46431108c18f389daa5ea9b849766e5907261c36db46c3b81e7f3378 |
|
MD5 | c71be708bd4c384c73b0c3ffcfd2d1ae |
|
BLAKE2b-256 | 4fcfd70ad0ec806629d9dda6ad90a61f4a5b0ed99ca60f658450d801714d4537 |