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.115.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a80239488607816b9f5c27049dad3a08fa7d3e4f6c3f92563456dd3c3ad693f8 |
|
MD5 | 4888dc5ca9716762252ab355ec305d17 |
|
BLAKE2b-256 | bd637f45e3f30e6b0d5db8aa4d295aca7dccd810c8f75c9254bbd22362f38d9c |
Close
Hashes for cdk_lambda_layer_zip-1.0.115-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3fede48a588dd2fc9bbd7621b2298bde0b4aef540f508f4dd17093d6f0df45c |
|
MD5 | 06a38aefa6bd6fa508018eb1db9050fb |
|
BLAKE2b-256 | 587ca8cc323d1bc28bb06b9a9cb07dd99990b3a192411455c3654ac5cb25f7b0 |