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.235.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b2994731cbea15f162ed6f665df9005facf780a70c86acb926245f39eb6a1d1 |
|
MD5 | 403c707667492fef4b371ea2f8fa0e05 |
|
BLAKE2b-256 | 15bd0acaedae35631b6a23fb83f0b8a7c9f7aa630f24ffed9c80f88125ded5df |
Close
Hashes for cdk_lambda_layer_zip-1.0.235-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c622879d80d22874073528f41cf51994ba1a0bc5bcd80e165879636cae09a81 |
|
MD5 | d043ac09ac3b5c0c36be15deb09f7eed |
|
BLAKE2b-256 | cd4fceb7be8285b14b80c4b145348070c3bdc7a688ae9e70e122c5e80ab3a00d |