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.183.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47f746141a3bfc045abeac0b38318726412be809c3447b1aa4dc43f4c169a103 |
|
MD5 | 98c4abc1ef3449602cb935213490d17c |
|
BLAKE2b-256 | 1d5658339016f565e6c890acd9f38824c2f5fc351af1c74de4b12c5ab72cdaf5 |
Close
Hashes for cdk_lambda_layer_zip-1.0.183-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2c8023078026e2e0b9afed4f9d3f94aa8ada89d197b2f69224ae351f26a2d97 |
|
MD5 | 760830f166cd87464fa45319a7df2a69 |
|
BLAKE2b-256 | 6c04e12cf2de7a87240f505fc625888afa2305b17a88610901a383c0fe815559 |