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.306.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3a9d073e5645dba78693f76df596dc2f4aefe5b4d0e109cd38c072b61cb96fb |
|
MD5 | 31a84f4b130d1f7df85e30b1ecdf80c3 |
|
BLAKE2b-256 | 0fb70742180e99bf15fc2b9d27929349799a61a3e5bfdc773679c0c95d00964a |
Close
Hashes for cdk_lambda_layer_zip-1.0.306-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5631be98155a0d30156b448daa6859114bf3486b9ad728db1b9a4ef303cf090 |
|
MD5 | 9bf5ccbff033e3d72496261a637a4875 |
|
BLAKE2b-256 | f642063e9478dd4675c46dbe026f1eda6cc39f2b48a16c8935473bfbf3d1b1c3 |