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-2.0.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d6a2360ef1c26771fd860101b8c60a7e79011f96ceffba27124e5b5dd40bd8e |
|
MD5 | 300871dc44dea8de9f4fd1e8e62b2bf8 |
|
BLAKE2b-256 | 86cdd9ed757ad2dc1bffd09ec1cb9b64c66145832ad5a4fedb115d63bf560828 |
Close
Hashes for cdk_lambda_layer_zip-2.0.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2433813a98e5ae9677d2ca78ace4cc43a0dfe7577e4ce7cb5c448fd42fd158d |
|
MD5 | 508c55144741c802feb130cab3c36d21 |
|
BLAKE2b-256 | 3887154eb02805cfa206035360306f6cedc713e12c0264e7031c1c8c4ec2e61e |