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.114.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa3df541061b12a49a8967858e3ea7a6c5ef1d8930404c5a24c807458dbe9d7c |
|
MD5 | f0641aa847d32af5e1c32b8e736ec063 |
|
BLAKE2b-256 | 06859052c0aa003f541276681801a4a7ea73cd03c8b0b13eac74f05cb924cfc4 |
Close
Hashes for cdk_lambda_layer_zip-1.0.114-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9354e43c297b86927b92fe497704efbb22ac940fd7fea73b552aef2c05adc012 |
|
MD5 | dbb559acb970d401fb8cbcc145b07d72 |
|
BLAKE2b-256 | b8c9cd5ed44c4a9b9c076e90de11a84990ce116d1c30eb4fbbd91122761313ec |