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.350.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 871773f4012ee2072fea2a056e076a7f21a517d932471afa81dbefd8a3a3715e |
|
MD5 | e2e63916ea9235039527d992cbf16f49 |
|
BLAKE2b-256 | bef8bf4e9dd12a7f3995c4b4449ac273d805f552e93f07f609e015c02dc3a7ce |
Close
Hashes for cdk_lambda_layer_zip-1.0.350-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2a28d667eb345cb524d4f115ddcba72b5bf1ac12d17c3217482d61f97367c02 |
|
MD5 | a5555b807bca4f110fa5202ea1adebd3 |
|
BLAKE2b-256 | 6be0f708d8fe3e2db6fe0faa7af6b1722dc1f72671145ed0bfd2f6fef0079bea |