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-2.0.63.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09d674ec901e4b40d09c548b0c3355c022b83a7773be9133a102a30c6d693e16 |
|
MD5 | 8b29dfce6647a94047bb715e19adae0f |
|
BLAKE2b-256 | d98f1f0982524d6b292f38bbd23980b21c59580e2746501bbe0064a139437f04 |
Close
Hashes for cdk_lambda_layer_zip-2.0.63-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a8fdde0b964a4557f7c41d19d14e487e86cf89f7551b6ed4250a2f13e6630a3 |
|
MD5 | 247d8464e915d82af7a288ed5d581b1b |
|
BLAKE2b-256 | c283ae71b66071e4bcf1d9a5194183cb60cbd519f5bb654f9e8abab94ec5ec93 |