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.189.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f87f544f88a71499d2823b467348f52dd84a13f8f7c27c7b76675a60d988f15 |
|
MD5 | ee892e3d6087498ca232c813b3d6d506 |
|
BLAKE2b-256 | ed4c067c3c9c921d3b92277d620e8ba4164f759809f1ca41bb49b674ce5cd7b8 |
Close
Hashes for cdk_lambda_layer_zip-1.0.189-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf4402bed7c08f389777ea40d87f9ff4535945192e3ec30f70d80c9a3b00baf0 |
|
MD5 | 01a84da3e784451e1f7d12cbe1d99530 |
|
BLAKE2b-256 | 6cd3a4ad8c21691e5e762c9a370172153a40b6bc89eec2bb19fed04543f09dc3 |