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.232.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06ae7fab850acdf27d329fcd7df70441807314912c2fd126cd1e67a4d8a8ed4c |
|
MD5 | 897b2f329e9ab726714013e75e3ae7d5 |
|
BLAKE2b-256 | fabc876939d9c58a22c0b06ab7bc3c636f10427ef84b7dedac5a068855d2f498 |
Close
Hashes for cdk_lambda_layer_zip-1.0.232-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e1b38c03881fc7b2462f0250393027f7c5f39fd4ffd294629dbb776c70317f4 |
|
MD5 | 41b467e7e3d0db4bc38f6ad19bfb4cbc |
|
BLAKE2b-256 | b00384eccc20db48be06e79cb5d86337580a06ed4705c160f2c1ae0a07fb7492 |