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.226.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 667398ee1a12e109d4495c776b72e056d6ccf5f348e4d46df0dfcd6d18e04bb7 |
|
MD5 | af44e5cef81a91cbfb6128ca36aa0d5d |
|
BLAKE2b-256 | 68bd76a6a39cc0afa23b31d4057fd5a2798b816ab274766676a8e60c5e397e20 |
Close
Hashes for cdk_lambda_layer_zip-2.0.226-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce214e038f5d11cdeb298b5098a30181f2bdfd0feceba81657757a5a5683a30e |
|
MD5 | cd3e138d8097a03a0cd291a0cbbf33e1 |
|
BLAKE2b-256 | ac0d885e70b4f30b04ad696cc6d456d7e719064c0f14a8fa85e584fc3ebc19f6 |