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.55.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fad0b10b99cf184e70d1350e6ff02ab0a61e7e57ea147a02e426b28e2f9c7319 |
|
MD5 | 0fdb9a76733874574f18e7d87380b2d2 |
|
BLAKE2b-256 | 89a56cd67bc31c17fb77a6615bfbd5e170d8984bb308fe35c6ca8a8bc219a033 |
Close
Hashes for cdk_lambda_layer_zip-1.0.55-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4553b4f31555ae9469b80e5cca351a5cddb1109d9932e6f650cf26cac1eac7f |
|
MD5 | b97e784141d3011743dca26041363211 |
|
BLAKE2b-256 | 6a48268375fdcfc6bf850c1130d3768c1c14d4729139a6acfffcc2e10a62891e |