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.40.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2aa13629be1a663d64fd8c8d665d6d2c005c39e1e6344344599706bf1b3c0603 |
|
MD5 | 4081425f4a4bb717751628784fb849c6 |
|
BLAKE2b-256 | 9d192dfd2f7cbdbee62e38c04c52feccb8e7ec9490a4079c3e6db50406ac93bc |
Close
Hashes for cdk_lambda_layer_zip-2.0.40-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9427037f2edca508f8221307bde82aa9b074f4ac280f58230d18612f91e65c4 |
|
MD5 | 23d655a56ae09d23d76697b8922fbd6f |
|
BLAKE2b-256 | 1e83d1b352f595496426203370f765784e2fb350a25f041915e070a2fd0e5e15 |