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.360.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f1f6a130e31c10a0d4534b00cc9228252fd8c829ff9aed1a5559b8116b1ad54 |
|
MD5 | 0c908efe1dd63c672140caf8499534d4 |
|
BLAKE2b-256 | a9b3786ecfcce49137805a9a515847aee9939b73edd4ac38eb643c72e4eb2a45 |
Close
Hashes for cdk_lambda_layer_zip-1.0.360-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 288998fd075161c030606f73d4fd2fae148c8ef21a7a70ebf4213896a26bfac4 |
|
MD5 | 421a078d716f1992c6a20780f7dd069c |
|
BLAKE2b-256 | 21aac644aa765a0fd475f18efe429607870736d1f63b9499da03a5dd7850e33e |