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.129.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4705d460df14a58e4609d148ca26ec6bc2614c96749263458c95823afb863623 |
|
MD5 | 1d280303d21a3c6b72403a69d2d792d7 |
|
BLAKE2b-256 | 7ef23130783620c168eb79b5a09d22dacfcbf78a4e12a89c08c96b5b2da19f93 |
Close
Hashes for cdk_lambda_layer_zip-1.0.129-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e5bfb8e80f65c9974aec892d180cc6d56066f45f823201ba339709f61326616 |
|
MD5 | 0cbf7ea50f431cee4336e0a700cc888c |
|
BLAKE2b-256 | 8b0c75754398ff3d8f660f251c9b531ce5d3bd43c0d0a289566083dda03bde37 |