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.188.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa1c51db7ba0dea9bf74ead41830eaa31deb555c9a33693bd6e24c62b02ca777 |
|
MD5 | 19c3197f24f14e67333f7e22dc140a75 |
|
BLAKE2b-256 | a17f80d7c852b68795da72f8908b679bac87c697b34748494f18acaae64361f9 |
Close
Hashes for cdk_lambda_layer_zip-2.0.188-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c09bebcf82cb8b267ac09ccebb7516a294ec10dc894dcb8655293885a0ca2ac5 |
|
MD5 | 268206413205a83c42c619309c382343 |
|
BLAKE2b-256 | 770787726d9bc12df16b2f3678a435f91b2978c8df074a1ba7459fb89362af25 |