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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f1e3d90ccba5b39b7be42fa59230fd1bd07048a0044a5913f895d742efe1653 |
|
MD5 | 69deb661ce3270ca825fda1f84c45411 |
|
BLAKE2b-256 | 936c6db8e2d0878396949030a8a30f009500df97de560328d243ccb2d23d0442 |
Close
Hashes for cdk_lambda_layer_zip-1.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84d4bc841bd897531fbbfd7b12e57306a78e66dd04f896995168746428ea0fc7 |
|
MD5 | 577787b3e715d2b81b19775a9b9c4dba |
|
BLAKE2b-256 | 80a09917c47f33499fd5d4554d28492ec268e38e34a1d38d4dd091c0696ee816 |