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.90.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32b0d2de5b0b92f0d5c891af52a6928b6ce138b660186b270b89dfee2291820a |
|
MD5 | c97e0698315eb2e8acd5655a46f26e99 |
|
BLAKE2b-256 | 39a350ce482f1f7c5277881795c691bdafec6a9d649552ec5a7e78db4916b82e |
Close
Hashes for cdk_lambda_layer_zip-1.0.90-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ae1b17ce2d146636e0da925f9b5eedc88058faa93f39175e4c046846049d0c4 |
|
MD5 | aead49fc4f00e06651b352f16c71b814 |
|
BLAKE2b-256 | 45a9289e9cdce91ef26eb190e04624953ef472497aed6a0f33ef38710178163f |