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.28.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed01991043c17cdf9944773ed1ed7c89e7cc6e3b5b434bba74ee894960e26ff0 |
|
MD5 | ac6e413abf58f3de1e233d62e7cf408a |
|
BLAKE2b-256 | a07af6fa9369d2dc75210d68c563db67b7cb367da67cfabf179a536a1b89f1ed |
Close
Hashes for cdk_lambda_layer_zip-1.0.28-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aac00b81664709f6efad5881fff63880e540b90d2875f22284e1ed8c415eae56 |
|
MD5 | ff0443ef364617a88f1bbb4cd97fa263 |
|
BLAKE2b-256 | f5ffebf31e7dfb2e9e5440e96a5677ebc3cadb373e9f82a8510c7ecd01b2e52a |