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.66.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 794e47f27c78cca54f2ae39c79fbba51b27d9b9b88cfa1f846705f101ce22a5a |
|
MD5 | 3f63a1ad3e8739425af791ff14fa2eaa |
|
BLAKE2b-256 | b131377c5efdf23ce120c9d9a51b49cad5b0d0e27b85c3480e39d0fba893a078 |
Close
Hashes for cdk_lambda_layer_zip-1.0.66-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a6694bf176c326ed91ac56bed1384a7fc65c547c549853ab207a4ad16617762 |
|
MD5 | 005fc78d22f78ad7eb0febc5f74db05f |
|
BLAKE2b-256 | ed1ebec34c2132dc2c149533d900c88f06d8776a3301b79a513745e757ee708c |