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.361.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c5b5f5a2b95e0f96317e46ce545569d6a2ab20c92cfea13bf063e645478a989 |
|
MD5 | c3b1ea9bb3cd9fdc6f77a729e74777f5 |
|
BLAKE2b-256 | 6ee47dc068dbec5a056b17a52459830781c66a49fc437951733aba72027aec00 |
Close
Hashes for cdk_lambda_layer_zip-1.0.361-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c95fba98fbd614166f664aa5061280779f3fad3eaf7e69897d09b5d1e7531921 |
|
MD5 | 94d82fecd3842680c43b692db113e124 |
|
BLAKE2b-256 | 56a6e7aa91ff1c8f79034615a9b3a23c596fa7131e7be0ac73ae1e31961c03ac |