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.64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36e51e04caee1d5c0ae1125435c56707aef61d2495024693c12a1cecdbc2ad9a |
|
MD5 | 2f9d8adb2b081d3a9dc80494d9a2cab3 |
|
BLAKE2b-256 | 1d378e587df01a1c0cd8839951141a799dcbe4930c8f1dd4fc889b313462dc0e |
Close
Hashes for cdk_lambda_layer_zip-2.0.64-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 573279c2630d6fe2813da8c80ac20e51cea1215cbc71dbb3e959f1d1e237dc0f |
|
MD5 | ec074918724310f1591198cbcee9fa82 |
|
BLAKE2b-256 | a0d8c44f86be8b0690d75df18679f93353ea3ac0e89552c30211944b3e9341a7 |