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.121.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57d8e9cc77e8130af24d272bfd431cdd712b4537b5ecbe66a617e89bd17f224e |
|
MD5 | 68a0bd96e10e25d2e5f8a2fd27b5fee5 |
|
BLAKE2b-256 | 31177b6a356232d8d5f8a0fa2bf2d3454b2fbdeeb9dce92c72b1c826007c844d |
Close
Hashes for cdk_lambda_layer_zip-2.0.121-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7a508becc4179d9bcef5d0189e72b7ee6e9cf51c0dea0a6678f4fa97ad1e640 |
|
MD5 | 5f4c33c30f5ca5b36d0bd73d19b6af0e |
|
BLAKE2b-256 | e56155a6d90fb409ced557863772509baca8da8e76d48f6ce568ed4e4eed752d |