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.223.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 984f06d99e6c90e75f07f80df0cab59cbd04bc9fd5ebab04526855c9bb992854 |
|
MD5 | 74261a89fe42f9a07c4812cf401832df |
|
BLAKE2b-256 | 4d4c2020fd29c1971c933344470f1d3340d24132ee7cce8fa460456668b544c5 |
Close
Hashes for cdk_lambda_layer_zip-1.0.223-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e16d4a204780f16991b317a12e3818d15adb49de4b9b2ae992cd0d3942b55b49 |
|
MD5 | 7366cc6da171979b1dedea1a816aebe3 |
|
BLAKE2b-256 | a585f8fb33470a05738b9cc78b68abd92619496821f90e9a0e0906eebd4376ab |