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.145.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6386946a3a9421a92ea2886265621f9b3e23c4265f5064a94cc550242a812671 |
|
MD5 | b2717107af1fbcc979443dde89b4d15d |
|
BLAKE2b-256 | 1ca95bb3f435da8b5b066c76f35514bdab433e5fcd68c3d83398caf81ad2e073 |
Close
Hashes for cdk_lambda_layer_zip-2.0.145-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49d8d32f7a59688c837403d244eadd1694261b0524658303860acfd9a30f6a78 |
|
MD5 | 837eb02da0d1d19f68825f94391f4494 |
|
BLAKE2b-256 | 2d75d292002b2fa1221aa8b87bce78c74a3ff05db47dff758f189baef1b9ba34 |