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.97.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2f98fb97fa01634cbb87e668982f28144f1e4b790a4cb00b6ba2eaa2056837c |
|
MD5 | 2da6d29e80e7bb45a29b0465076a0914 |
|
BLAKE2b-256 | 0a2f7b7a791241d3dd29ca54c8ceceff8831cd3c6e5266190fc6cd5617ba7096 |
Close
Hashes for cdk_lambda_layer_zip-2.0.97-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14fa4fe145f56793de31266691888057050ff840cd36d72efc0c30d39c178b13 |
|
MD5 | 584ffdb392ab0e2d8c4edca94cace1d8 |
|
BLAKE2b-256 | dcafc5c8b68d28d1f8c7a18fb8917d18a92c5f523b6c0d532f2397101b0af1d9 |