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.98.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc7134f174cc3eda6938c69425bb46fc6cadf09a079638f92682d30a717e18b6 |
|
MD5 | 8e598c97da453486785cc96a6f5db379 |
|
BLAKE2b-256 | 1f93c22dbda714f666ef1561dd469e404c439aadb172167101d2c3b3e56f6cc3 |
Close
Hashes for cdk_lambda_layer_zip-1.0.98-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eadb08d605a803f970d1e202997ebcb8b8bef86fc9d22ea36a7f0453097cb715 |
|
MD5 | c25ed33a1a08a38996efdb9b000b6219 |
|
BLAKE2b-256 | 1750d1278634302bb4b49fcbad414b7ac3a2f8228399f93197664c09cded95e2 |