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.196.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ebc7c722ba36cdaafb2aa920afb94a1b7c1219a891df31bcec4ed1ef27e85ed |
|
MD5 | ee8ccc73371c565ca60a5dcb72e36625 |
|
BLAKE2b-256 | 29666c67bbb4d77375cb3cd39354c2dfbc67c979077bd993e9da1229a369f4b9 |
Close
Hashes for cdk_lambda_layer_zip-2.0.196-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b4091054632bfed8c0d1ee6f651b98494c4194e82570508629a87dd8933b96a |
|
MD5 | bc3cc7c6d2044fb6a6186708ac4afab8 |
|
BLAKE2b-256 | 5e916d4cdcd1b858b46f7853c50d2279992a4001335ce97c88440aee22ed4530 |