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.316.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94367349683fa5c468b14852ace23ffa35b5535351a64a2586f689d5b9a68786 |
|
MD5 | 62a47b3e0e42171517dd9b2352b28736 |
|
BLAKE2b-256 | 4ff193b6d9d0db31e6fa41cfd5efe89eaafbe296035a59cd31c56076312f3568 |
Close
Hashes for cdk_lambda_layer_zip-1.0.316-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bf85fbaf7c686b320995d4b768cffc137de771b7e041a5816b5b7cad07eb042 |
|
MD5 | 24dca4e322c73c7a6f8d5c7436ab1e9d |
|
BLAKE2b-256 | f7b3ba3df05faf330d7cd03bcd5bf16b3f31a457562d9a7075ab4eb09de402a8 |