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.46.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41a247b837de661e7b049fb085bdaa2bc9ea2635f28c16babc86cbba0d21e595 |
|
MD5 | 605774e15d16008326ff20c42001bb1c |
|
BLAKE2b-256 | b5809b9dc461163aa3a420db33737e80d59e9c279eb7edcc69cf4e5adfe22b34 |
Close
Hashes for cdk_lambda_layer_zip-2.0.46-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 556f43fd12e2d733f5848fc42f2c211cfa293b2c2a2142af81bf460370303eff |
|
MD5 | bd4050768cc4f796180900909916bb62 |
|
BLAKE2b-256 | a2382f431b61b2ceed029e066e4acb2468c0d8eadb302b617bd79ff40420eb38 |