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.108.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6006bce03092f01a491412566831b2f37e175230d3db00bbd0ce95835466852e |
|
MD5 | 76c9c40de2fd74b83dc9a9ab88be1643 |
|
BLAKE2b-256 | b031c17bf869842faa1d72ae31d5fd876d1e850d13154aacf86ece01e7d3a87b |
Close
Hashes for cdk_lambda_layer_zip-2.0.108-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60767a5afe5728616ea230606279399f3262e5a2973314e4638317e1efb3e45e |
|
MD5 | 87bc477c46144f4993f05502594ff109 |
|
BLAKE2b-256 | f82b19b24e5bca94d3645b53bbb9703fef1fae26c1d5ba8f6b297239974ee150 |