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.78.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5cd50527e12ad0037317817bc176907d509e27dd8446f78435e1a369990c567 |
|
MD5 | ced9ef2e053a11d1b71e5138a0560a55 |
|
BLAKE2b-256 | 168285f4b9768ded1cd8d1fa10d575fd1472725aa22f5ae803c0feddf83f93c6 |
Close
Hashes for cdk_lambda_layer_zip-2.0.78-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e7e46bb819a7cbc731d11b391e692932036e95c5f8d21140cb058aa684c396f |
|
MD5 | eaa392eabcd5c75e42c56858b39bb6a8 |
|
BLAKE2b-256 | 0fcf3fce07a2c19cd94ae0c4b13e5a339868947275fb75e5e2bddfd916672fca |