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.255.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb5cedfab1b73de0658877c448bd904a039cb2f6a1f23c701b146ed132b3061c |
|
MD5 | a153a68f950e204211cdb38c3587162b |
|
BLAKE2b-256 | 76341e6eade3cbb568400b1495cf1e0f306365785407841e08fbd32ac337a052 |
Close
Hashes for cdk_lambda_layer_zip-1.0.255-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29bc4070b607cab5189e8dd4d5aefd994953d02164ef796c5af124b2100df07a |
|
MD5 | 6ceb43d10abf210c5f54fa21b5f03404 |
|
BLAKE2b-256 | 344d62cd02ced5a9f6f290c60d5dc325805f5f7d2922285dd2144bc1e890e64a |