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.144.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28c33a9b8d5118c7cf248e83f0e5c28e6de12aeb36107ae646042393f206e06c |
|
MD5 | e13591ca090960e1aa74a0011edf78c8 |
|
BLAKE2b-256 | 0328b491880f4de11c30a388d3c7c77cf40a46f9a3c287be9f561095f2588a3d |
Close
Hashes for cdk_lambda_layer_zip-1.0.144-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36bc01ce0cff0c9503dc736ba6dabd3aeb93473b145822a38956a0b1e7fac48a |
|
MD5 | 1a873696e2614a85842df3efbb525f2c |
|
BLAKE2b-256 | 6f3427ed65cbf495c4b06e175b9ecc1ea43b3e2ce7c476a447aefde3cc4054e5 |