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.104.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 247a64ef86865208cdfdb609af5cc320a3a5411bdf98fe99ad41d55fae51816e |
|
MD5 | 9ed32062db776a77ceb22b7a01ccfca3 |
|
BLAKE2b-256 | 32c980e7402eef2ba40376ad33df961b0926b7600f0519cdf9b12fd646efa111 |
Close
Hashes for cdk_lambda_layer_zip-1.0.104-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3620a1d4fad0d57fe149a488b2f943e59a7ed72824e9da7a3552e64c4075030 |
|
MD5 | 336ff93b9ac7881fe0453e1c2ff73cef |
|
BLAKE2b-256 | 0f92f7223a23e9d9ea88926abe4342a7f3e217ba34c08ded97cc8ea383c71fa7 |