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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f3862b43aaf19946676069fbcb566e8efb791baeb1f6a3908f1932a7a08fa3b |
|
MD5 | f56f534a38f19c3db308ea9ef65a8498 |
|
BLAKE2b-256 | 761010495c6bb50d3003ae738a05b0bbddf60c71f0fad8557b0a38a97b07c229 |
Close
Hashes for cdk_lambda_layer_zip-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0de7e7b7b75a0d481f2b59571d5cdf8741a642777dc24033678079c43fd42c54 |
|
MD5 | 0ae0f06c65c85a973696db1d827b7d28 |
|
BLAKE2b-256 | dea8ed1a5d7c8dc8f993a179897ad9986597300f5c58cd88a3428d343cd5f3df |