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.281.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52757df3b86b52d64b9f04ce16b2ecde0f3c4eea8ecb1684ffba47f836feb254 |
|
MD5 | 0b7cbf5e29a9e89f6f3b2f978f6ec549 |
|
BLAKE2b-256 | 7ac4be6aed6d722efa32360322916472239f573638ff8d03de5e08cd00c21e39 |
Close
Hashes for cdk_lambda_layer_zip-1.0.281-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a5528c05b5979e7ba3d77ce011862d549ee7dcbcca19f043eed37f793166966 |
|
MD5 | a65f5d609999f83c998bfa317bda3d22 |
|
BLAKE2b-256 | 29188f224e9562601aa9c487f8d094dec6e0287d54d619285d4c7b16eb29dc3c |