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.215.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb58bb275b1076afb561a411b2d033819a320490c7132dcd11679a9c460aff83 |
|
MD5 | b0cd2e5ead35c67de2b24110ff5cbbea |
|
BLAKE2b-256 | ebf8d72a84a5c591a94735465889f23da4db6921b7ab9f25fac2d2eebc599aa9 |
Close
Hashes for cdk_lambda_layer_zip-2.0.215-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a2678a0c18a3281f195428bd0f1e54a924796beeec42fef0ede3ec86fc0ef04 |
|
MD5 | 4a2cc3e14d650ae924aa5b8533977ea1 |
|
BLAKE2b-256 | fa1f232ee4c697e681bea35c23eb56fb21d082d292067b658fdbda0d3c3a49c6 |