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.111.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d8fe42a9769943dc5bc78cbd022792dc0238b502e463f82bd329c4a9dee4f59 |
|
MD5 | fe075bd54eb854ec6a9e111968887126 |
|
BLAKE2b-256 | f1ee239f86a715078acff328205e6538093d8d2af6c5faac6e0b324c4d55d27d |
Close
Hashes for cdk_lambda_layer_zip-1.0.111-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 315f53e65d3e12c536677b5c02d08ddad35b0fcf15736668693c2cf05394e561 |
|
MD5 | 75ac2b14a70bd111131e470d7be05ff3 |
|
BLAKE2b-256 | f586aa2b8d6e2416289da086c42f32f5a2ffa0643af386dcc598da10dca451f8 |