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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7371231fb1b529bdbbc4467d16a9bd64f66197c75eb3f0a97b32ded575ff92d7 |
|
MD5 | 6003f3ab9ff6cf967e257a34f8049891 |
|
BLAKE2b-256 | 59d48e1eb0769ac287aff3ece12aafa86ea0ce9bf4c4ae1f3d6705c173af8d08 |
Close
Hashes for cdk_lambda_layer_zip-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 878bb843ee78615a17f35f063e7b5ed2589341a2be8912bd6d7c85109aaf82b6 |
|
MD5 | b5a9325b6ef6b0d41c5e98842c821d51 |
|
BLAKE2b-256 | 00790da3aee90388d9bce59907627b28a18c5ebce95c6415d007aae404655a73 |