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.122.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e895031078ad83b6ea377c8525a1d0c79bb173b5de5af3dcedf2c5fd064e9760 |
|
MD5 | 6609cf23e82e61e2817e47adee85249a |
|
BLAKE2b-256 | f57ce0ef0f249e39942e8a526a633a8d2abecbfdbd699f303bc2a6dcd2827a98 |
Close
Hashes for cdk_lambda_layer_zip-2.0.122-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7465a1999d29b42473c5b23d6ae69a9cc338d0d1835241872857247f91e4f4a |
|
MD5 | 79e9261595d83a2823530467070b8740 |
|
BLAKE2b-256 | e76226675f3171c9734615b73c1e1b5872bcefd0847dbc29a278d5ef818b510b |