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-1.0.401.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e0cf7bfeac4c7bdecca400c7bba17d72676431ef9a0ed0e7ff05ada97dffdc1 |
|
MD5 | 167d7bf196aaf239ba22c9b489c7af83 |
|
BLAKE2b-256 | 02a6e8e086a42f33c4c2a695c1b91857bcb01d23aafc76e9ea8970dd26de3cdf |
Close
Hashes for cdk_lambda_layer_zip-1.0.401-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03cb87455afe6e14e9541891a4a2c72c803260ae687a3d8da111d2bb523d2f25 |
|
MD5 | cfd7b71466cf706e8a57b28fd69e3343 |
|
BLAKE2b-256 | 64cb9557c0179c07e7ef3e666789b3a93b9ba42f3def3a7d1559af41b696e332 |