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.17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cbd7cebf7e2756c22098375bb36c9b9b6cadc84036ce9c878ce94f05d3ef9d9 |
|
MD5 | 5ddf2f86c2529b5fdfa263d8757affc1 |
|
BLAKE2b-256 | 582021b0ad45db631fbf1b2cb76c085c38cdf37003e94f627a16304a86544f7f |
Close
Hashes for cdk_lambda_layer_zip-1.0.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e224e791508a26152f8e927ab3e062469202e108532c12bc822a6aec528ab2f9 |
|
MD5 | 4f8c07ebc9437dbb4d613798c354d868 |
|
BLAKE2b-256 | 567a2d06b59dd45ecef72eeecae6ff5bb42b3643cb7f4474c35a271b009445ae |