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.229.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef91ed64fdb8fc54d98712e50bb93981771ec1dbd8009d98128083cc3b2df0d2 |
|
MD5 | 8f91b1d9b3da29e7f1ff755e731c055a |
|
BLAKE2b-256 | 0609fdccc940c82409e2e58438a03f45ef8a92f44a0feeaa4179ce1677e7e22d |
Close
Hashes for cdk_lambda_layer_zip-1.0.229-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 077b63f98ee2691e818a4e5aafcbbb531919d5215b6236c93a35caca90853d5e |
|
MD5 | dd465b6f42ec975fa7e755efae3c20ea |
|
BLAKE2b-256 | bebebb53ba56db804033b4183c23115ed7c49fec6061625dfce30e161309597f |