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.113.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86d92278cd403b79badba2faf21ed69e71dff65c80765586a6170053bfd8252a |
|
MD5 | cfe0bc750ba83fc347fcebe1bcd07f41 |
|
BLAKE2b-256 | 815a961715e19e5caf1faf05e2b07f0c53d26b38295cf9b6f1535ac0fe078e1c |
Close
Hashes for cdk_lambda_layer_zip-2.0.113-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e69c85b217b781aab1bb0949780f20b33c0f809976bd2eb48bcf67b72b0e0dfc |
|
MD5 | 169e2dd71465e7f800f6b72a77c14708 |
|
BLAKE2b-256 | b98bba22f75291be2a3fe5cd739de3780c5ac73616f6a4fbf67baacff9a5dfcd |