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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cb8fcbea9d66912b0f7f4e04beac8f0e8502ec04fd938c98a5b4e92e7ac01c1 |
|
MD5 | cc60c9025c4729cf00369a95edfcc8e1 |
|
BLAKE2b-256 | b79a94e7dff8a794f4e9410c1acc69c31768209f30f50ca16432e2aaf8a3049e |
Close
Hashes for cdk_lambda_layer_zip-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac441c9ace6f040cdec89acfc6706568dbba02a54e346913175d97dc98648d5b |
|
MD5 | 65d268c8ca10973f331be0b8588b10d1 |
|
BLAKE2b-256 | 81c9b3b3538e482adcdd645d76a9e059b811c31d9238e11ec3a38b88cc2b4329 |