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.164.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ed153f71bff047d68e7c56a8daa771e9260bb669865bec58722724cbc7d715d |
|
MD5 | 3de7bd1c86219f74ad26532cd6ee7679 |
|
BLAKE2b-256 | 79b20ca27441d02e4a5f0265b6ff55e5df83a37cb787f35fbfb245cb4067ad46 |
Close
Hashes for cdk_lambda_layer_zip-2.0.164-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ea65b54e30d1ead3aa771f528928761b0e00690775a168dc25a16df91c26dc6 |
|
MD5 | 6f20a98940a5222326070ec19d86b72d |
|
BLAKE2b-256 | da747690c625e5c71589054cc2eb306e21382e631f2428ff87ac5a4192284a4f |