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-2.0.291.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 117513a05a0311d541d76282c015f94d2aae76e364d8fdacd7ea740148b4b6f1 |
|
MD5 | a6663798cefb6e860669e632a2d9e15b |
|
BLAKE2b-256 | a9a93f4e98b5231a779214e07e0f98867db7cbd6ee21fa5f026fa767d26dab37 |
Close
Hashes for cdk_lambda_layer_zip-2.0.291-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 157530cdcf17028970f492986a6f3fd42c4b1f9bb4942318266ad23b8e9d9556 |
|
MD5 | 8f1f0369e0f27486380791e7cad9821e |
|
BLAKE2b-256 | 5832190eecaf286540fc423edc589d7ebfd5e17bae2e54043da13883dccccf5a |