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.58.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a35e4a7de52fb0429157abb2af7259366914569d965ffc47a91bc6de5e6dce79 |
|
MD5 | 6b1b92367e28464325fb1234e300e9fc |
|
BLAKE2b-256 | 90700468a7aa1adc4e51de6f6567c0f8d290876355b0f79abfc4e65ddaa3ca74 |
Close
Hashes for cdk_lambda_layer_zip-2.0.58-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66ce99f846f110e1d7b994bce7e72dd95fc540c01fc47d96c0df361c6b5c41a1 |
|
MD5 | 740d4ec53af8815a17a9f7f7d4884a1b |
|
BLAKE2b-256 | a66b5095c2cc2ca54fc8f6375232a30d761fb5a6e873ac91f717be185028fe98 |