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.249.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00c30aa98762b4a577a4d30ab4bd3e1b920a0ed97a05e58da9a537b649296c38 |
|
MD5 | fbb706646cf0e3cfad814ccd49f8aa10 |
|
BLAKE2b-256 | e9dfcce6c79618265044f9efc7c4734f5a36600ddc72a440fd446e008b942aa7 |
Close
Hashes for cdk_lambda_layer_zip-1.0.249-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3e618a01c46169476138e2db91d0a447afad2642803349ffb86f3c9da66c9ee |
|
MD5 | 5a1759aaa5f471bebb8b3dcba7067afa |
|
BLAKE2b-256 | 717fe2e28453780c30d38401057c46e2d30aaf41b6002060286ce1f622ec2e9b |