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.146.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b808f1ca1d37b39132c26a0e46acd7e3824f6903ece501e4fa024a0bd4117a4 |
|
MD5 | c102371e5fb0c39dedb5eab27c8cd8dd |
|
BLAKE2b-256 | d6d929991119a1a82f9b524ee2ddd38e0ea1fe9526fccaf1c7db5731c8e586a4 |
Close
Hashes for cdk_lambda_layer_zip-2.0.146-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 839a41e6aeff1642c78e17fcbe27f22641b328e489e3e5f1155998128d820b01 |
|
MD5 | 9d69e4fb4e187065ee13422fa9638122 |
|
BLAKE2b-256 | 1dd605a2e9c55eb2df90686476ba4c21358e9c7d9c08f11e889d200852a18509 |