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.137.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20d925dc5f781d44e0a615f2841743c30931a3e231553362c500c4236e1a00de |
|
MD5 | 4e431e7b585495798c4eab5900e413c1 |
|
BLAKE2b-256 | 4b01ad7b8fd3a4f87434ab08495de6158578fc4806a406a36fb2d5507b9aa600 |
Close
Hashes for cdk_lambda_layer_zip-1.0.137-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edfe0164812b020dcfa912d70569d822c97d4a0d8655024566954fbcf6b0ff41 |
|
MD5 | bf1f4ff332ad2ed8de480518ae9343c9 |
|
BLAKE2b-256 | 56e40d9d325018b6e0a17dacd48c9fa6c9f4e2d122070140cd1ad71bea3dcb62 |