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.92.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2a20ba4f67a3be6e93c1bc81f0bd3cd12d984e4a27d8972bafee26dadf1cc48 |
|
MD5 | 28701b3d33340eb2da58e10bc4c0f8e5 |
|
BLAKE2b-256 | 7a7bb3df104350be1f2b56bbb56a8d7cb762d93d4df811904a8ac42a012af92e |
Close
Hashes for cdk_lambda_layer_zip-1.0.92-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07601685498bbedf7560ea563454743e17484711fe24fd76a28098e4b8379129 |
|
MD5 | 02f926b092abe756fd94e87d8f19fed5 |
|
BLAKE2b-256 | 59cc5d77be60c45d4f27642addfdeb8dd0378dfda5ff0428b1b7e0fd45ac99a5 |