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.226.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b828a832dd62754e93df49d1c4645a539c04a6c6b3e1da904ea1365712b5089 |
|
MD5 | 31f4ffa8450986a25d474decde4f465d |
|
BLAKE2b-256 | 74f1016f0699075b6830217dd1157959a899bb9b01d272022ac45b4c405097ab |
Close
Hashes for cdk_lambda_layer_zip-1.0.226-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2976e185878899618ac82e15f174d1bb67c947d535a46d5bf310c67b30d2c95d |
|
MD5 | 4feb4d68be4574a7e9e4d6121e6805e9 |
|
BLAKE2b-256 | 708bc8a97ae72d54b8a0e78cf803166c42b53115b40d6148b1333ae927276bd7 |