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.311.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 986f25b747dc2e3adc3de356774fc009a83f2b54a74a89290da7fbbd71a94beb |
|
MD5 | 950bf81643722ed4e37801684d6d22b1 |
|
BLAKE2b-256 | c8b4aa47b8a81d279518227d360e2f192d2efb453867bf62fa274135c15ad9b3 |
Close
Hashes for cdk_lambda_layer_zip-2.0.311-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d327a6aa0aa9a1ae520c01a46f1575e9432f2752de45c1182af14b9402058dab |
|
MD5 | 86d0defea75fe658ae63c8c4fc89a5ea |
|
BLAKE2b-256 | 2667d0b5388c1bfb39a9d6f156096c575d3ec42125621c0b7d5a24706a0ef3c6 |