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.156.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc9d8b26f6e64a6c203d7f146c37b621b94357e88791faa43c7d3580d95c443e |
|
MD5 | d4f265fa3c876db2349675871cf99b71 |
|
BLAKE2b-256 | 64a792e83440629136527b0bf9b61f552a2c6961581f5332de0656de430a7ef1 |
Close
Hashes for cdk_lambda_layer_zip-1.0.156-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 222c25c701a32c4b99f2567419a62b15e4b49e838f93df8e60e4ef4b69234a3c |
|
MD5 | 0c30a1c2e57ab692f2af8011b3bc19a4 |
|
BLAKE2b-256 | d29a31912d8ce4349e637539c73f32eedae99cc80411282bf0cc96b9571fc044 |