Lambda Layer for tar gz 7z
Project description
AWS Lambda Layer with zip
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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-2.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eabefdf3751901e9cd96708235b48b212454088203d099e6f50f8b440f5830c4 |
|
MD5 | 80ae416115633d359dd4eb5d7c0ddc26 |
|
BLAKE2b-256 | 637b42aa1133cbe5de119a960d7b38643071f457812fc74e346a92e555b3dd38 |
Close
Hashes for cdk_lambda_layer_zip-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e0bd000d6099ac065ed72434918e16da2f19416b542cd5b7245b1aca863c89d |
|
MD5 | 37cbdc602808597ce9d16ad48288856f |
|
BLAKE2b-256 | 4cba1f243461d6330af87c2fd9a127a014ec42217e377ae05b5640862a9822ce |