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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4962ae2633d0636f58db6c536b80a36f5b8c2aebe07a2062052ef0b8907a650b |
|
MD5 | 939a1f0480b0e92242653ce2b3a89cd8 |
|
BLAKE2b-256 | eea6f768e6750fe4d32c0897791ff07cd7a6b5861433bb996fbe798b7d93e893 |
Close
Hashes for cdk_lambda_layer_zip-1.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 586a60df8c102b94806f93dddec7b4e9d136ac5bcb26043d464cc6d72b8fc4fd |
|
MD5 | e3fcfeaa147c976ca9f2924e6e53018f |
|
BLAKE2b-256 | 1d891ca3d6daa354343e0f651a3c1921ccc82b5556af065787b45bb674bceac7 |