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.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54124f9c2c8cbc0b9c4ba2af490704a4a31f66bf05f422f181b7403e136e559e |
|
MD5 | fd3a1c2a66dcb34f27d0bb447fa9b89a |
|
BLAKE2b-256 | e32d77983d658516aa12b73421f7d63d44710a3391e64783444bad12daa7134e |
Close
Hashes for cdk_lambda_layer_zip-1.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7d586cea8abe89aa63ad85f23ae306decdda0fefb618a6b0f9f6a2f02f7bacc |
|
MD5 | df3f8e1e07cdd59b672fc49ab6a1edd4 |
|
BLAKE2b-256 | 9a389b2e07a889dfe24cb7fee23a1f27b6b10ecb54e8978f22be10bc6ae13714 |