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.42.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0665541545df360911b9d64d63a2a33e7e3134bfbf6f6d03af5850b90e45f4e |
|
MD5 | 7a5753531d1d443ace376e0570452a82 |
|
BLAKE2b-256 | e9015800b117c11b14a34256edfd351322115de818d9d85f6ddab0225e46d63c |
Close
Hashes for cdk_lambda_layer_zip-1.0.42-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92c3da86eec75ef21d8c781e169f75ce1ec88f30d0d876ddad491ab26eac3acd |
|
MD5 | c6a65e7444cf266ee6f3038f04efb3a3 |
|
BLAKE2b-256 | ac34c14c89857297a5fa7c41cdf16b408f0162ed5ba566b9fa9e1436aa6830a0 |