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.155.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 521a13d2864027f6a91e80b733a6a9426d43b7cebddefb82b37359feecd65610 |
|
MD5 | 5885e263a58829f72459c18f1c3d014c |
|
BLAKE2b-256 | 8266498cef7671f7e05061dd84e31283d453a87c103fbc28385decf2e5ad9f1e |
Close
Hashes for cdk_lambda_layer_zip-2.0.155-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8e7c95843161a9fba73f13069c13fcce7b01cf363a51f05c5fb34b789217e7b |
|
MD5 | 21876f9f8fb145708c5b1b0bc20c8109 |
|
BLAKE2b-256 | b050858822b7b8499dd317b9503e8c6c721f49367323b3cd2197cac60e00f207 |