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.210.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e16d9e9125cda9a502f4147e7fac2b0a3bbee5f22a98e7d5264e8ae52e4c727d |
|
MD5 | 7865d396060e3d59c70430ce695297c2 |
|
BLAKE2b-256 | e59097c414fdce46bbffacb1430ead39c7e9434125da010c0ffe58ff57f69980 |
Close
Hashes for cdk_lambda_layer_zip-1.0.210-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f10ec51e81a79d47d3eacf83994e38d2f5f329723657b97b79b9fbe55d40d1e |
|
MD5 | 70b3c186216f831125a2a1ed30f58708 |
|
BLAKE2b-256 | 2961d998231481781e2ff390299234447cd6869933ae1b36168858db1e45ef3d |