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.196.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b2f58988350c65d2ea9b448ca2c4f99ea771c00530cd5270d7cdd2e65e0bef2 |
|
MD5 | 1e1bf17c00d7a9254b4a70c0eb470d4c |
|
BLAKE2b-256 | 70cf6d1c6a634f0cd72e71958cea3cffbd78eb95586ef2cced2b9154af0376ce |
Close
Hashes for cdk_lambda_layer_zip-1.0.196-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 808d0aca3d54841466444a4b08f9fe1e64cc9aa483b73bcd29b2c43f09282d50 |
|
MD5 | 5035117eb5ea5febb1305c0c2b0f52cf |
|
BLAKE2b-256 | 882fbbd4efe0e5cbca6c49bff79d5930fa066aedb8fa9f385dac274f068011a4 |