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.127.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96ef9e094fe044c02ff34a5fad4b4f62363f4df4f00998d5e8e4889058688e2e |
|
MD5 | 3499437e80b0003ed41d65e960edf4b8 |
|
BLAKE2b-256 | e0b95a11d8b639b45916c988e6f7b69fa5bb1a2e9f644eb634654a979b1e396a |
Close
Hashes for cdk_lambda_layer_zip-2.0.127-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cefdda8fd555b3a1536c020f68e069799e98ed97cec19998829a08cdb31227f |
|
MD5 | a40d0d1b6dbd520a22000433a437f093 |
|
BLAKE2b-256 | f0691e32dc94d60456065b9d8d222572045a962d8c25235dd6ca2233792e8026 |