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.344.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6f64a0cae69ddf053544abb3ceec72c15a303c0a722a29641f60e2fff64044c |
|
MD5 | e7ac5171425aca8b03ff9cf1b5e8d3fc |
|
BLAKE2b-256 | e0365e23c65d8619194eab5729ca8ea28ba4b4fef82c156b1086f1b3a87c801b |
Close
Hashes for cdk_lambda_layer_zip-2.0.344-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4be59727528bcf0007b5d2af6ab30e1bc923066948d4ed05cd3b902ecad37f2e |
|
MD5 | b7293a6fb1523013cbc0b626e6f65b0b |
|
BLAKE2b-256 | d676da9f592d6ee464d81683c95d4ddac4eaf8fafa01bdc3f80b11abb00a0590 |