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.165.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f2b1bf005134a604d0f8dcaa420d112960074c0989f04be40ab05e4f45f6f06 |
|
MD5 | cf3c5058bc41b2fea6e99ef2f762c022 |
|
BLAKE2b-256 | 3f47d2b251aaa0b079fb8a928c4160aa1804499b783099dfb89cf7ffa9ad79e5 |
Close
Hashes for cdk_lambda_layer_zip-2.0.165-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49688974641e06d1a7133ee5cc1396b49c4d08587247c5a533c3b365d44797e4 |
|
MD5 | c53d10b0dfe89f12b3bb81c63da5c170 |
|
BLAKE2b-256 | 7eb1ec5dbd66fb3e228a4f8139c5e01a55dd5c1dfc726f8edab1be706d2fefa9 |