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.72.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 403e017494901250df62fbdc2e8c7215e995ffb32e86f821038aa9ca782f7aff |
|
MD5 | c569b98804704daa7bb6158f1ff179db |
|
BLAKE2b-256 | 947db627f6085015c2c63ed9697eb8fd2fe53a6fd2814cdd9b7ca20559d1424c |
Close
Hashes for cdk_lambda_layer_zip-2.0.72-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ea336defec6c0a65794161b2a5b8fe2c5d7d0bf31d43b69d0f1d123c4f46dd6 |
|
MD5 | e4aed7b9382c21381a09df2ab90df24b |
|
BLAKE2b-256 | 1bda68e1c0a68bea704afc24d40e6a278a51c373ca1e90e483b47192588bac2d |