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.25.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9310193acfda07dd4c792d968b1366082bd460783b271128b74a02ede7d12694 |
|
MD5 | 2cc96bffce33073036d46405cbd5d81c |
|
BLAKE2b-256 | 60233c69ca06dc9ddd58f34c8d1954aab2fe87e422582d0e1f9321af89e82e61 |
Close
Hashes for cdk_lambda_layer_zip-2.0.25-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72948ae8e509eefa627c8ed46613e4bae841f1f01d3f619e0542f09f94d523eb |
|
MD5 | aa26984c79842d3954901958d4fba20d |
|
BLAKE2b-256 | 446cb4f4c24ded97864709f9c6ab7ca770402b0c084d37940b8079b0b015d7e3 |