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.231.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 132de278e9c7e3d4356fe71ba57710db1ebac162234328a72c90c77d92b7c42c |
|
MD5 | b7393c864964e920e019a443370ff496 |
|
BLAKE2b-256 | 81d199bc1cb3da037e40080c6745fe0057bb01e7948a565afaa75af48bf03903 |
Close
Hashes for cdk_lambda_layer_zip-2.0.231-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f684107cf69826a1d3b7fd34a95d4708108ac5855d10421dee35c37ca8a9f75c |
|
MD5 | 5a4f376146dc868d1c019473226ea5fa |
|
BLAKE2b-256 | 304c579d7769fac8ef42b34ded313d1f2d1100057de4f8d14a5f9d5b10b21ac6 |