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.221.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ed2b51f6273b2e23f13d2a0dbd290329d1b8295a1d92c8931c809698df46d8d |
|
MD5 | 9bcec1bfb8859b8e79c41835a6f6c0fb |
|
BLAKE2b-256 | 9b76ff98db9056f193db641f3d2a725f03a8154171a08d552f64fe8cd36c86ac |
Close
Hashes for cdk_lambda_layer_zip-1.0.221-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad8ee58e9061bbaa40f0c94037ee9c6085f0797ce73ef9bc53d98d9e5d9eca2c |
|
MD5 | 18bc65fc9790389a3f8bebadc267489f |
|
BLAKE2b-256 | 83994d10f9a0598a2e3ace6580fe70f1eb996db026686b310f49edc5a6255d83 |