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.170.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64ec8ac82916db2c4893f9539eee1c3a1784b919a64aa1d52a0e3fb791cc8c9f |
|
MD5 | 9bebdbda7a13a80b269e43ed97aa6501 |
|
BLAKE2b-256 | d1f5cfea42f53eda80c323979d7582673ca34ee5c7cc44e0e512e13c5d724f77 |
Close
Hashes for cdk_lambda_layer_zip-1.0.170-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5a4fd5cb4994adb79a41bb89ed1729423b91581b6c2f8e449131fc84b9aece4 |
|
MD5 | 57ab525f4748cda5323f80a1b90dc92d |
|
BLAKE2b-256 | 06c474d395c3ae28c849e57e96bca6c493655b59733f27ebd968650a9cf878b5 |