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.84.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c9c01d7cc783eec87e54cc05168351cac45f2f01080f64e2cb169820a9abe4a |
|
MD5 | 0d44d73d2afc1949cbe7ff649de9ea4f |
|
BLAKE2b-256 | a54cfa9b5b6fdea044837e2a1668fd49587d66af0f427b99ca391e9d1c7887cd |
Close
Hashes for cdk_lambda_layer_zip-1.0.84-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a5abdaba701a68add892394e9a72dd600980ff6801bee31bc02039324595394 |
|
MD5 | 826a0688820d0222ff6ccdeebacad70f |
|
BLAKE2b-256 | 5e7d4ccc7f155fb44f7067c8f7e65f4973ce0ec90f0a2db4a4efc55ddb6b0b3c |