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.165.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94a454b511a6e27c0a11ada9d794445ab748a2e9ea6a90d56df5fc119c3000ac |
|
MD5 | 195d62a4c1a4cf1be764e00b845538b6 |
|
BLAKE2b-256 | a5514270c858a4227a60de121969dbe0277dc4ba9e9c5a9d5e7d24c1c9ccc4a5 |
Close
Hashes for cdk_lambda_layer_zip-1.0.165-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 387fd80ce475425cb7c6780ae4404bed461e40d6c899d376374c3d5f6067d31e |
|
MD5 | ec37fd6480c3f1a4bd89d8c0fa4c7d2c |
|
BLAKE2b-256 | 05347bb0c0f8d6a2ebf6bc2ea1b99ba98270f8697fe3e5341827490b5e55a25e |