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.54.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4859f8c609ad06c6c0773f1b90ea1366f29882ee2d27636e97abb7e12ab36090 |
|
MD5 | 3513d5a10f564a515e7367927980cfd9 |
|
BLAKE2b-256 | 65661671123c0898e6295c50b07df0bf248ec1f67044c3006c22fff9c38077ab |
Close
Hashes for cdk_lambda_layer_zip-1.0.54-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fc2623f90ecb01a54df25480e8f48490f4701071840e1839e7d1ff558c458ae |
|
MD5 | 118b711ae250539987131bfd2a19c97d |
|
BLAKE2b-256 | 34dd98d2b5c87f0f73af2b22093f61e99c0d658af76f0141a405f6b13d70990b |