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.63.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31d08f7971cc8e4146e1b385a2963d76e36524ead8169253b66040c0a4891381 |
|
MD5 | 22d0536caa7885711cbcead2d260ec8f |
|
BLAKE2b-256 | 70aca6dd363662f90a04046474bdaa107da16eb6a4dedc54fc0ba0c430a1d9a6 |
Close
Hashes for cdk_lambda_layer_zip-1.0.63-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9783ae738f7b65693a224a251aad83827aeed18bb8d3b396042fdcf8e44213e5 |
|
MD5 | 4f51bb447d9b6b6b542088787f444e66 |
|
BLAKE2b-256 | a1fd6035d9e9b5df92cf629288adf74c3fde773d6973324457b0ea3d9d7022e3 |