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.38.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 911e4694697c739afb06d6821e187e39802127190f7aaee94058357d44c8d499 |
|
MD5 | 0364108d9ca081dfa9c92a5642194fc2 |
|
BLAKE2b-256 | a32aed754e2485ac984070590f8e314637606568934a5e60c280c00207ff212b |
Close
Hashes for cdk_lambda_layer_zip-2.0.38-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08388e693c751b7e5365d3286492444ce9bc3f4125b06f9c9572739455b7042e |
|
MD5 | c947d1156802cce48f850e80b82d97da |
|
BLAKE2b-256 | e2151ecd7cf3a7f15915c02c36be61b9df9e3406b09fc6b7dd3e6196c3387118 |