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.372.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e31d5bd5f895a37052a9da278429c30e9b2eb1afea7529f19e915bd98a8a5e9 |
|
MD5 | cf55f5e6d55adc503704d4e046c705a7 |
|
BLAKE2b-256 | 3e4d6df48f421b7c8425d39fe3f0d6e1f402b007846b55e2c7bdbc3c47483dc9 |
Close
Hashes for cdk_lambda_layer_zip-1.0.372-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2ff78365a7f1a4c81a1d8f4897b4522e9e875f5075e2dc5da3b6a0f0d3f96e6 |
|
MD5 | 40b5617a81170e5394decc8149fae5db |
|
BLAKE2b-256 | abebfbf116f425bb2ae561c6236783fe6fc67d15cc608378c964f2712cfa6081 |