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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5271b53a3c50ef966cee59c826086792476517fe4687a152c6f066b3970b8b19 |
|
MD5 | 57854e41237580ff675c3e19fab3b9d1 |
|
BLAKE2b-256 | 1b5802aa6b83341063ccf8f74ee7116fe9dea9ad2b796dff4772db4eed0452c9 |
Close
Hashes for cdk_lambda_layer_zip-2.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74a3a3ca22dbcd9bc8b7f921e9fe36cbcd095e3d8f73f455ea959812fadfc2aa |
|
MD5 | 2e69c2396efc71938e832de27f34ab0e |
|
BLAKE2b-256 | 307d6c10703408f9e90d467b83263b6a2ffd3002dc124afd45080030d915e3be |