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.26.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aef05e137bde033195c6710b030a75151274e25034c33d7316eb2134675ee3b8 |
|
MD5 | cf6558ff65050f5e7eec6492efac630a |
|
BLAKE2b-256 | 772f9d08b3f87c943a2a97602beee35ad1bae3bb10af019242bac55c039bcea6 |
Close
Hashes for cdk_lambda_layer_zip-1.0.26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3d10b3e30f89588098cc81f8fe359fb05eb243f598eb3a672f5a484c0b5edb1 |
|
MD5 | 23581ac17465626a2db8a7b7b5137980 |
|
BLAKE2b-256 | f39f0599b6e5207413e557b4378ecee9beab5a0b72b81d6107870a3f713b2911 |