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.109.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1dff15948eba3a35d1f934b2dff0560e19114411f7b30378c0f4c5989934ed4 |
|
MD5 | 85b1efe9bb2e91c38ae1d0fcc6cbc91b |
|
BLAKE2b-256 | 04059949828827a876a088d77d76cbb3ff0f22ad6cb5021907d7bae1eec900c9 |
Close
Hashes for cdk_lambda_layer_zip-1.0.109-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f02241dcc3cb4698bb5345e791a1e1899238ec555f02a98a7d8ee2557e66c199 |
|
MD5 | 028e38050679b687c3ec7ff26f20cc74 |
|
BLAKE2b-256 | f5230436436a0052ee945bb2e5cb848aff5098c76f2a97dd6519b4dee63a8865 |