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.247.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94429b0944e435dd5fe2600ef91f1a0430829726f383959be012be517216a261 |
|
MD5 | 9109067fc9bdc2e85fbf12b7c43d77bb |
|
BLAKE2b-256 | 88a2e478b1438c793353e733b0d4054301bc415573da5674c4d86c5b663aa4ff |
Close
Hashes for cdk_lambda_layer_zip-1.0.247-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb059faf7fbf30a75be3441ffe7e4e3c82e586b239d8442243c0858d7dd0321f |
|
MD5 | 7f5ea00c95a8b018a72d4582fb3f96b9 |
|
BLAKE2b-256 | ca2724fad44128a29bddc3201eef883480116b6262dd60c2109fc6333b12c84a |