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.264.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59685b212d4bf97907b5af29b8e5156be489ddf9a003cf7b0cfeae0f1f72b6c5 |
|
MD5 | c0ea6c8cbd65ae5bf243ba5eb9ac3130 |
|
BLAKE2b-256 | c89b004478cbc9341758ca03ad6c53ef6631663826c09d2037ce7b62280479d4 |
Close
Hashes for cdk_lambda_layer_zip-1.0.264-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41cccc3ba4b4114c5b61690b4549c58c4ccefd2a4e885cd1d43aed12d59bde75 |
|
MD5 | 340b5d2fc534e81219acb94b1a02154d |
|
BLAKE2b-256 | c8aacb11d693083fc230364f27d7b243c7d603c65b09042e61b94c804e118758 |