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.84.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f40f092f3d65fb2df0e7c46bcb9f71fc408e343e9887450c1ec85147345e414b |
|
MD5 | 140319ff0fc2f62652364dd9f16fc2f7 |
|
BLAKE2b-256 | 189caddef3fadf79d1cc1d1dc45326b22f3e6805208a02305c76b8b2a2c6c102 |
Close
Hashes for cdk_lambda_layer_zip-2.0.84-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d833159a2fbef09832b211c137d63065346318798112dd41522cc48a2740242 |
|
MD5 | 9e8cd88e682bdbe151c83c4e55100355 |
|
BLAKE2b-256 | 76cfe30b30678a8f35739a75193c466c89ab7c6b7db78e78a0e034d441b90f8b |