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-1.0.145.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd53b79f34b81a077a1a5fe806f8be98ac2e8dc007b6d7ec286b6c381a4a63b8 |
|
MD5 | 98033304a22e6445a57404037e359c08 |
|
BLAKE2b-256 | 0662d4e5dbe810232ef736236316757265de171374b0d8ffc0f96c190cd0e7f4 |
Close
Hashes for cdk_lambda_layer_zip-1.0.145-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d18f44ca9c9e1c7638ff12d7ced84aab835a0bed459abcb2a02e74a99c0ad803 |
|
MD5 | 1434737b51e64e3269b46998feeeed98 |
|
BLAKE2b-256 | 81584650a7413ed47abf569efa7098061d52f6fe8ece23e2a70c8f9ccda15091 |