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.394.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 528a07084ad3a212ba9dbc4f917448d16bca1bfab4519acb2c426af857a6967a |
|
MD5 | 64abad7fa5a9f38a20e14bdb5d796645 |
|
BLAKE2b-256 | 0085cadd1cc25b5c20e60387fa725d7a2f5c605498532bbad889a91e02a005e4 |
Close
Hashes for cdk_lambda_layer_zip-1.0.394-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 700f235f1904962d7ae5d0b2198d0e1f8211c32aae9e4d21e3a55bbc400a3c82 |
|
MD5 | fd0201a1cdf739325b13b85006efa642 |
|
BLAKE2b-256 | d84366819ae51c6a1aafbaaa0b2fe0ca6883f879efb7a7bc85bf6ac4f0f922c3 |