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.366.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8805feb0038a3c9e11ca0abb19890396bbbc9e842f23cfe8ca2ec24abf8f5223 |
|
MD5 | 0a669a4063aa1edb4db1187ba7c0ff79 |
|
BLAKE2b-256 | 9535087571ba62db04946f3ff1f8b706f19002edb08bf986b13a968c13c9382a |
Close
Hashes for cdk_lambda_layer_zip-1.0.366-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea1b1e39cc6b8782c5f5d44c0d2d6c36fbfcc20ced4c6a5f63b480934d83a864 |
|
MD5 | 1e53447480faa36552b5c397d15d2b90 |
|
BLAKE2b-256 | 3c09ab788e824b6d4ed12f0841c5b411ac14a942994be8027892e3b7979cec0d |