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.279.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9aa88d1800d89cca8d8ed60804e476033bf57e73cacf3e793452672403a3c627 |
|
MD5 | da1ca8c374bedd23aed4d427997603ae |
|
BLAKE2b-256 | b5ade6a666d195e8eada890776e714c96f4d0e49323ebd72bfc3717129569be1 |
Close
Hashes for cdk_lambda_layer_zip-2.0.279-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57543a0769985525ba21450320c24849450026fca368593e2729e2be5fc1eb38 |
|
MD5 | 01ce9e8bde5b24bec042c24e71ed5eea |
|
BLAKE2b-256 | cb626ce8cfe50afaeccc9b24677e90b0ab618cb6cb1a3fca16ad206fdfc03d80 |