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.245.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1db9d6bdf753df58ea3e47a5da5205362d3a53c98be8e5040c4648ff70653b0f |
|
MD5 | 5a16340342e8549a25200143c99e2a28 |
|
BLAKE2b-256 | e77d6d358992a7b2f2b1c9998fda1aaf7ccc7455ae62a8567cf0c51b19666819 |
Close
Hashes for cdk_lambda_layer_zip-2.0.245-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da42a05914a7eab0650012b661e8e7d4d209fa54d97c1fff69d5e7a68ea51672 |
|
MD5 | 3c4f93f6009d95a993f424b53c76c23e |
|
BLAKE2b-256 | 1b86169e9cfa8fa2091f8f214ce800a514a11b0ee41b749f0f85f0d7d7a74087 |