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.163.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7685a2329e035ddcaa4804c96e9dbb3e777f0b5a256449994064a2306ecacf3c |
|
MD5 | 48f7ecdbf57da6e9bd831baa3bd9bd58 |
|
BLAKE2b-256 | f0bb6443ec2d35dcd9cd80b0c32e725b03aa36a46189b2ada0c04a4875261151 |
Close
Hashes for cdk_lambda_layer_zip-1.0.163-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3867280749d2d296d09065f8dde501688b4ad1386e74acbff13fe8611d24f515 |
|
MD5 | 833b6f9480363e1711a5a521e634dd4b |
|
BLAKE2b-256 | a4f9c0c5db3f1d8fb7b55a7dd24d99eca029f1e5386f999cd74e890411d9049c |