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.130.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 917e0b1a875a686633a7e566b2ed5db52a07b98143a0a90274b9192d60e4630e |
|
MD5 | 4fa2bee8712709dbd47ba63ad94ee6db |
|
BLAKE2b-256 | 99277653d2d8c07d8e8c4d3f393e29a0d08971c0f3a52a070a5f1f6dba49bb8f |
Close
Hashes for cdk_lambda_layer_zip-1.0.130-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c25c6b7451541cc05bd40319ac21d361deb1914acfe00a9b1ded44b6a0b210cb |
|
MD5 | 10240d91817a512c6aa85c11c49bce11 |
|
BLAKE2b-256 | 869ba1f838a6c165e9a90952c917d1bffc4b02d55d0fff53dd2c96ce694657fe |