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.231.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 088552a761e990551aabf20b9c06e2dac5e68a7913767b1d8325a17402d7a815 |
|
MD5 | 98446cc62241ca16fc7f075d376e3319 |
|
BLAKE2b-256 | a7832fcc1047a3f10c16f4073c018ca6098ae30c8d399d7f4deb3ac54cc3202a |
Close
Hashes for cdk_lambda_layer_zip-1.0.231-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cdf0385962577d598d9c737a52cb8fb8148820a34f7a9538c13f503c3deac28 |
|
MD5 | 0a5a2bb9559da2bec7573722afb5aa5c |
|
BLAKE2b-256 | 23b05ccbea68f864a3e5404990419369a69a4f819967e629e727c010f31a923a |