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.315.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2927f6aa7bddeb7c7f673bfc307b79fafa70af7c57f1fc5117b47d561e6d2222 |
|
MD5 | 1bc207ac66b3527222c743c32b5de2a2 |
|
BLAKE2b-256 | cf3893b1ef573ba48769174f7c06ffa7cd896968abf7e27670273d25de757374 |
Close
Hashes for cdk_lambda_layer_zip-2.0.315-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 649359955cf476bf1c54751a0d8f6126834cd5a9e385fcb98921950f651d20d1 |
|
MD5 | 9a9ab7de64cfa93d2ca9a7726568112b |
|
BLAKE2b-256 | 8d905045c579972951dba51b2cbaab28706a9445b626346883eb52363f0ed083 |