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.70.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 291d3dbeacd29b6e37304bb9d24acd9d92200aa11b3be2da34ca6462a25c277b |
|
MD5 | 5d1d73771936fede1c5acd55acf87528 |
|
BLAKE2b-256 | 7cfb92dce8453bcf52082aa063062ab6f6836fb2fc69342580d02d68e6e8cd33 |
Close
Hashes for cdk_lambda_layer_zip-1.0.70-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 964ec7d725d0723590af4ffee0138e2b33f580758f2ff5d876a953a678c687d8 |
|
MD5 | b3835eb1ac3fe5d79411e848c2a948ff |
|
BLAKE2b-256 | bc8db1d2da59397a88dd7f424311c59ff821a2f6885000ab5b03a5b6da5c2ac0 |