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.333.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 840bd67394a9112dec9cf9b85cacb363b17dfffa2ecc5e31094e735ff4c94ab6 |
|
MD5 | 62d8bb096b9295ce19139149acfb0b36 |
|
BLAKE2b-256 | 7b663d223b68b6c1fb17c9ba35792a6fb2c3bf055e658dab8d7f5ebe00f7bd9a |
Close
Hashes for cdk_lambda_layer_zip-2.0.333-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 323f1436dbd0e56edf903508201ccebeef75b20ec08aa30698df085702ae49f1 |
|
MD5 | 1164452eaa8ee855c4ed1ff4840e355d |
|
BLAKE2b-256 | 82ac57684ae377a646c60c8518c1dd99868b49a3f4c66a95d8b6ead1d90220e1 |