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.228.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 575c33bfe1cfda416c3b1d2e3583fc7228ee17f8abaf5d1117505d19c558aa15 |
|
MD5 | fc8e9176ea926238be8511777640b0e5 |
|
BLAKE2b-256 | 44bfa3d5be6187b77c157b74c78d6ee069b75b51f64777b0075dbe2070c313e3 |
Close
Hashes for cdk_lambda_layer_zip-1.0.228-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da79888c5ad9350f3209a86cb11532e3a50bf54b1284ae16ceb93bef24f56b4b |
|
MD5 | 6b22de2672dbe4b138f97367b6d9c4ca |
|
BLAKE2b-256 | 1bb9de6449ed5dc7dcd8de283f588797b6747a123bc4977d575713dba65be0c0 |