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.191.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cf55b566ebeb7008a2ef550dfeff83ea0ddaec5cca1d10697a7789686fca4a3 |
|
MD5 | 980afa7a857a1f6b315253d51db9849f |
|
BLAKE2b-256 | bcedc2d13b9addddbfca9f51051cd7672259a1f9f55a7f8ca8f79968466d0fd4 |
Close
Hashes for cdk_lambda_layer_zip-1.0.191-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf0d8a3fd17bacbf164b1565989e1ffc2b25637387f00a3ded14814ae82a0677 |
|
MD5 | 45ec54aaa2bcbf76431f9e8b39f94558 |
|
BLAKE2b-256 | 829403dd55553d720aaffaa21b921dd00acb1082b79ca894604a7e748f035aef |