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.334.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ac976741f8703e4b4a41382893b23616a727366f114a1295c3dfee90a55519f |
|
MD5 | f324e78590f74d3797d2adc755542706 |
|
BLAKE2b-256 | fcdea856e88a7d1bd0dc89fc4a7ddaead46c612f359d3888054c16e0183e93d4 |
Close
Hashes for cdk_lambda_layer_zip-2.0.334-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b385d42ee58597047e66610e26b024940512ee105e88ec898f1c216ae93d9e6c |
|
MD5 | e1a7633cc71e0932a0a86025035eb26d |
|
BLAKE2b-256 | 3e018ea35b9d14348acdb9a54de403b3ffe5c910ea39be95c54e90c0fe1b7a87 |