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.289.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73427aeccd424eeb224e74bd4b6f140fa35ee3d485cacae67f02a7749473cd9a |
|
MD5 | dec2907cb6e57457776aeebc2b46aaec |
|
BLAKE2b-256 | 02fdecc12067ee842176fde6951a1b022b9de2f58666ae1a93c0f940891b4b67 |
Close
Hashes for cdk_lambda_layer_zip-1.0.289-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47b1bc3f00a9523a51676781ed8855fe16c1c8aa0fb12ca62d81d25bdd1c507a |
|
MD5 | 83044bc01fc11d1792e0d99e104caf97 |
|
BLAKE2b-256 | 4baa42175e46e8c23175b6b77b8598d1e2b8a5ddf045035f88df92a5badde4e0 |