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.206.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05fcfa435b9a3f02befc312285552b31fc2edf129d40f556b5e013089dfbc98f |
|
MD5 | 9b1a8eba2ca62cc1c270819e919e1aed |
|
BLAKE2b-256 | fb9b47b1d378dcde4db8072d42a44e0f7a39fc543c9f71ad120b227427180025 |
Close
Hashes for cdk_lambda_layer_zip-1.0.206-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e50fc64044a5167c05c1b41da2c202d988585c2a6474fc016a85b6e8c7447ae4 |
|
MD5 | 87a968d6fdbd64b26628c20e04fd93eb |
|
BLAKE2b-256 | 58e60398cd48d2641d9aa14cdcf4918f1d70f74e1e561aecc95e46db13b15054 |