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.265.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bc144d72694536dae01f13aba10fe1c706f430956eeffb61ac62e083a806213 |
|
MD5 | 60a74478b292cd6f76f708f6f31038f3 |
|
BLAKE2b-256 | dc7771dca498116c765faf9f202ba00fb85dc1d92911140eb17113ab257543f2 |
Close
Hashes for cdk_lambda_layer_zip-2.0.265-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d6a00b02340dd36e355dfa4574bf2504cf32149ef90005249f69842a6341fe7 |
|
MD5 | 2eef1f1f66e3e8ab5042a51e449cce60 |
|
BLAKE2b-256 | 039193d0986f839a6f19e1ffee914708ed51dee51ef3a9e09c998245527e497a |