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.148.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b908a5abefcc12f7d2979e2766bedf22422bea0d1b3ecf8e1326b565915bf64 |
|
MD5 | 89a979a8401a090b8d1498bb63ef72d4 |
|
BLAKE2b-256 | 2e7aa20af549821431cd074d2564394b2d3ee4ad109475738e3b4c1e3177d56c |
Close
Hashes for cdk_lambda_layer_zip-2.0.148-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1210a92125e8410873671abf894494a00c05253b178bf0aa10108dd8549228c7 |
|
MD5 | 13d5f03cead179de28c818ed24e5b2ed |
|
BLAKE2b-256 | 3b29ebe4849f06942c10f9fa6fda030a25c42252afe2b81538a04b9af20b5e7a |