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.325.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ddd55ad171ffd4d09000d6d4d53a763a089ab65e05041e14a9bfb56517de3ba |
|
MD5 | 047a0e714aff12aa4d837e0481d7fa7e |
|
BLAKE2b-256 | 01121a62b30453a38750e3220f54d0267f5bc538c04032f0d236115d2b5245e1 |
Close
Hashes for cdk_lambda_layer_zip-2.0.325-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72b5d68e9257b8fcb8683f7ce988eb36fa29ee3306d358dfdefbfb4be51f3496 |
|
MD5 | 6c23061996c9305ec077ab15636d54e9 |
|
BLAKE2b-256 | ca088871417248f43dd40d29dd73771ad42c228b1a038eb8b35aab39cd2baee8 |