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.295.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 888d11979957257ac980a153acc3350ce542e7214c7e1f6711510c5091bd9b11 |
|
MD5 | 0538f4875718624641ab5e3165353013 |
|
BLAKE2b-256 | 168b08d76c455b0774bc151b7c5f1d22d13f97cd0da13a971e98edcd4a40b32d |
Close
Hashes for cdk_lambda_layer_zip-2.0.295-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 827d2a4ed8acc3fb621b4f986cb8133caf3f22e8fd6af30eeed68daf9c4a4bc4 |
|
MD5 | 34ea498f0c73fb64429ffcf0f734e6b0 |
|
BLAKE2b-256 | 018214cdba299868e27bb4b2f99ba09f1ce9518b6442cdc94fdabfeaae0e639c |