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.29.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 196d22d1d62b84bb0b895efbacaca8284a75ca5ee695519902269c48d0065464 |
|
MD5 | 76ed33460f350f259af811a9800aef2f |
|
BLAKE2b-256 | d1f1451efdc345351a1f33834ac2c2ff408fe109adf7dc012039bc607f737089 |
Close
Hashes for cdk_lambda_layer_zip-2.0.29-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c93a704e7d9e407a22c38e15b96aecd6bc0d05ca9197158b201570b955f21d4a |
|
MD5 | 664372cbe85da1bd05fd387fa5dd6574 |
|
BLAKE2b-256 | 7914d5d026778a49c305a4c00b74a53d1abfb1df0b34cdff769db2f6803b5012 |