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.72.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86155f0c2355571c133c310705735d0cb98ef772e748577971c3ecd1709e19ea |
|
MD5 | fadca6b707a464dba65cc8c4a6e5d862 |
|
BLAKE2b-256 | 9813f134ebf18db4a3cf0f78d247a805b6fe2f80f97677dec4247311679dfa6a |
Close
Hashes for cdk_lambda_layer_zip-1.0.72-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f71e03e7d05fd0e0678ce0530ec7bd1cccb5d7c5c757d055aeb43d97b5f905ea |
|
MD5 | bcc5f8b1050d239da709ed80a7df47fd |
|
BLAKE2b-256 | 9514db41bdc1c0a52300b78d24baccc56b7560479bbe822f7a9f3a38c69f04f0 |