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.250.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3587d91c610cac7176a5a8106b9316dcfc8ffc821311548b35dcac8745a8d2f3 |
|
MD5 | 5c0b89a7bb130551d62742bd21df4135 |
|
BLAKE2b-256 | 631e5ad07fe64f6cc00450a6465fa1281464f510c2692d5f002859f3888dc84b |
Close
Hashes for cdk_lambda_layer_zip-1.0.250-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd9c75199b164089aed1bd4091acaf57c8913dc2557c48d4cc5e6ad21dac9b30 |
|
MD5 | ba80550192ffbe2d0abc8308b635a6b6 |
|
BLAKE2b-256 | 8f62ce0744f4231b7c08a441b646c13e5140bb9f3a910bf310622675bcc95ff2 |