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.202.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4db6f0eeec0e02cdb33a1d7c393b7d4f0c2089479188259e4920ca05b7a0cf1 |
|
MD5 | e0ed163e97c4cd8e6a0719bb04ae9b4e |
|
BLAKE2b-256 | 693973d45a9ea2f20099c0c4ca30c5e55503323babb66e151750c1a78ebd5364 |
Close
Hashes for cdk_lambda_layer_zip-2.0.202-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64c2efa4ccbb9868e929e1d336e6cd5b3aec0ce407db0d56e05bfff272904b09 |
|
MD5 | 7433cd939873e231d99e6cd5ba99151e |
|
BLAKE2b-256 | db17462c781fe5869de25ede1be5d9ca6532d47839c08f39f256ea744e97b838 |