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.278.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0768180ebb0cdde3ef796181ecb684ff85c792a8a0a82a116b43c0f0cf07b588 |
|
MD5 | a6bb1a4e80d1b6f03812e1c359ded88b |
|
BLAKE2b-256 | e50acf73eec8fb55c5f8b2b956003a378432aed7368a6353fed5949262a3ab18 |
Close
Hashes for cdk_lambda_layer_zip-1.0.278-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eb4fea97a670164f88c8d4544a97184bac7f52f91497725d1e88dd0ba3db326 |
|
MD5 | dc433ddc9060ef330717a690ff1c1230 |
|
BLAKE2b-256 | 9c93d69fb449fb7ec5323895d80e1fa8d34827b5d6651fd88f0f21bdd43f33fd |