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.140.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e91802854c715bec3aae627b986b4cf4a5175c3e4c4363489b72565da38ce75 |
|
MD5 | f852ed87402fff7a2945148e6e9ea241 |
|
BLAKE2b-256 | b1c5e689904c585464e1bb3a1667b236ec9406864e0f8fc4017751b3655721c9 |
Close
Hashes for cdk_lambda_layer_zip-2.0.140-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a335db5f2c5c24d3c28ea797d1a8e7ad0be424a261de1273373a3c583d4a264f |
|
MD5 | 8cea8c2ed93936c761c1654fcda5a88f |
|
BLAKE2b-256 | 7c8e29284f6f6ab831fba4e8c0b0e282c4bcaad342c09f407f89f8ac340766ce |