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.290.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e767039d3fa59897b6e4a6adaa2b1380efafaeb429ad8e7105bcbf26d16fae6 |
|
MD5 | 3aab9a5816fac45a633a1a3fc83c1511 |
|
BLAKE2b-256 | 4477fd8908731cfb41fac1bb5c0f16c3f22ce6bb20bd2262bff320cd6ed0b4d1 |
Close
Hashes for cdk_lambda_layer_zip-2.0.290-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8e1d70247f4ce427c0065478686ee59390d7ef5fe2cdf8f590c5bbfc05233cb |
|
MD5 | ce134a6e8268477f0976491878ddcb8c |
|
BLAKE2b-256 | 22b15c0f9a57a6d642f4d1871d00166f363f17d3dbffe454b554af64bd60ca33 |