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.364.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ce09e8a7e7f0e6ab35be8d55c4dbbbc0b77e5dae52c83f51281b95e08e9e6f3 |
|
MD5 | 5276768d16064b8eed31aed0fc25b5e2 |
|
BLAKE2b-256 | 0aeda5602973d6af5969c6b9de46b8e805e27b713f7d56dd3f0a1d122cd33b65 |
Close
Hashes for cdk_lambda_layer_zip-2.0.364-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09a292bfd572b965bfe0078238726106ed739683ac49ab9e80b4ceb1ede4660e |
|
MD5 | dbadd9d221d0546dbb4a2dbd7f50a067 |
|
BLAKE2b-256 | 3dadb57397060d424d768e97c944d8032152db87033bb4c2e9643ba41ae15a1a |