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.381.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8a28268f2a7a4ac3c97fd632c61e295b578e07471b38290fc5209e8f5250fa2 |
|
MD5 | af370592e14e49098cf44909b27c0da8 |
|
BLAKE2b-256 | 71396f085d9ddf3bfbcc4eb90fd24ab8cc98be325b9cce061612e51974be9735 |
Close
Hashes for cdk_lambda_layer_zip-1.0.381-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85095a4187b1b8701966d82348b752a94883503919c213dd7b88dfe858752ff3 |
|
MD5 | b8d8de047d1f45c2265eb5f390516f6b |
|
BLAKE2b-256 | 33377fef8eb0861d6df93aa2d1c69439e831978bc28edfc1255dfba6093b5420 |