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.177.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f8368d3c2becab4e53fd41f1cd6c3cb53916fe891f055c78a9a82a1596e8f27 |
|
MD5 | d8cb4454432fdaed21095f66d5b77596 |
|
BLAKE2b-256 | 21ccbaf0065ca6061c4747ec27470bb5266d6a146ace7b0e3b46bd66eacf811c |
Close
Hashes for cdk_lambda_layer_zip-2.0.177-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43fe5e56d6b234ef671d817f4f43ca86d6f93fa25b4b0a85e4fe853d12aecf68 |
|
MD5 | a4082dfee9dc374b09b26836923a27f8 |
|
BLAKE2b-256 | fea4f7e420b6eb8ea5dfd749ee3fb372da8b5c10a5aed9f4c8e4ddc0b493db0d |