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.148.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4d49a193f947e8f4fd00942d6fa93483d9d9c091195ab807d18ac1c297f933b |
|
MD5 | 60415c4ea9048f4b217d0593970a6841 |
|
BLAKE2b-256 | 667992297a38795f71f0c40e1f2076a0b7a2684ff0c59dec6a383e418afeb47e |
Close
Hashes for cdk_lambda_layer_zip-1.0.148-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 062225ff888bc32208cf016160370f5299e50248ebd1d69905a7ede87b6f4706 |
|
MD5 | 0c1c4bff80d9421315d1f5b381b0f15d |
|
BLAKE2b-256 | c664665dc8fd85bb396ec40cdc9590af25f51fbc5e0bc44eb8ac716f0435533a |